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
Salif Mehmed fa11e5c655 Translated using Weblate (Bulgarian)
Currently translated at 53.6% (66 of 123 strings)

Translation: PeerTube Search Index/client
Translate-URL: https://weblate.framasoft.org/projects/peertube-search-index/client/bg/
2024-02-09 10:14:26 +01:00
client Translated using Weblate (Bulgarian) 2024-02-09 10:14:26 +01:00
config Improve channels search relevancy 2024-01-15 11:26:56 +01:00
server More robust objects indexer 2024-02-09 10:14:11 +01:00
shared
support
themes/framasoft
.eslintrc.json
.gitignore
CHANGELOG.md Add changelog 2024-01-15 09:27:12 +01:00
LICENSE
README.md Fix README 2024-01-15 10:20:50 +01:00
package.json
server.ts
tsconfig.json
yarn.lock

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