Motore di ricerca video globale per istanze Peertube. Cercando una parola chiave, il servizio restituisce tutti i video dalle istanze peertube federate. E' possibile applicare un ordinare per data, durata o per lingua https://sepiasearch.peertube.uno
Go to file
ewm 782d461cca
Translated using Weblate (Polish)
Currently translated at 96.7% (119 of 123 strings)

Translation: PeerTube Search Index/client
Translate-URL: https://weblate.framasoft.org/projects/peertube-search-index/client/pl/
2024-09-20 10:59:11 +02:00
client Translated using Weblate (Polish) 2024-09-20 10:59:11 +02:00
config Support description truncation config 2024-06-11 16:39:56 +02:00
server Add timeout to requests 2024-09-20 10:59:00 +02:00
shared Add ability to customize instance 2020-09-18 16:29:32 +02:00
support Add nginx template 2020-08-13 08:05:59 +02:00
themes/framasoft Refactor and redesign client 2022-12-20 14:59:51 +01:00
.eslintrc.json Refactor and redesign client 2022-12-20 14:59:51 +01:00
.gitignore First commit 2020-02-13 11:49:03 +01:00
CHANGELOG.md Add changelog 2024-01-15 09:27:12 +01:00
LICENSE First commit 2020-02-13 11:49:03 +01:00
README.md Fix README 2024-01-15 10:20:50 +01:00
package.json Move from elastic search to meilisearch 2023-11-10 10:16:12 +01:00
server.ts Wait index creaction 2023-11-13 11:06:50 +01:00
tsconfig.json Move from elastic search to meilisearch 2023-11-10 10:16:12 +01:00
yarn.lock Move from elastic search to meilisearch 2023-11-10 10:16:12 +01:00

README.md

Application behind search.joinpeertube.org

Dev

$ git submodule update --init --recursive
$ yarn install --pure-lockfile

Indexes in Meilisearch are automatically created by PeerTube at startup.

Run simultaneously (for example with 3 terminals):

$ npm run tsc -- -w
$ node dist/server
$ cd client && npm run dev

Then open http://localhost:8080.

Add locale

Add the locale in client/src/main.ts and client/gettext.config.js and run npm run i18n:update.

Production

Installation

Install dependencies:

  • NodeJS (v18)
  • MeiliSearch
$ git clone https://framagit.org/framasoft/peertube/search-index.git /var/www/peertube-search-index
$ cd /var/www/peertube-search-index
$ yarn install --pure-lockfile
$ npm run build
$ cp config/default.yaml config/production.yaml
$ vim config/production.yaml
$ NODE_ENV=production NODE_CONFIG_DIR=/var/www/peertube-search-index/config node dist/server.js

Upgrade

cd /var/www/peertube-search-index && \
  git pull origin master && \
  yarn install --pure-lockfile && \
  npm run build && \
  sudo systemctl restart peertube-search-index.service