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
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Chocobozzz bfa120f4e0
Fix overflow
2 weeks ago
PeerTube@b033851fb5 Support handles and uuids filters 4 months ago
client Fix overflow 2 weeks ago
config Add playlist in client 5 months ago
server Query helpers refactoring 2 weeks ago
shared Add ability to customize instance 1 year ago
support Add nginx template 1 year ago
themes/framasoft Fix framasoft's theme on small devices 1 year ago
.eslintrc.json Fix body payload 2 years ago
.gitignore First commit 2 years ago
.gitmodules Use https for git 2 years ago
LICENSE First commit 2 years ago Update readme 4 months ago
package.json Fix build 4 months ago
server.ts Handle playlist search in server 5 months ago
tsconfig.json Index videos 2 years ago
yarn.lock Upgrade server dependencies 5 months ago

Application behind


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

The database (Elastic Search) is automatically created by PeerTube at startup.

Run simultaneously (for example with 3 terminals):

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

Then open http://localhost:8080.

Add locale

Add the locale in client/src/main.ts and client/Makefile. Then update translations.


Install dependencies:

  • NodeJS (v12)
  • Elastic Search
$ git clone /var/www/peertube-search-index
$ cd /var/www/peertube-search-index
$ git submodule update --init --recursive
$ 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

Mapping migration

To update Elastic Search index mappings without downtime, run another instance of the search indexer using the same configuration that the main node. You just have to update elastic-search.indexes.* to use new index names.

$ cd /var/www/peertube-search-index
$ cp config/production.yaml config/production-1.yaml
$ vim config/production-1.yaml
$ NODE_ENV=production NODE_APP_INSTANCE=1 NODE_CONFIG_DIR=/var/www/peertube-search-index/config node dist/server.js

After a while the new indexes will be filled. You can then stop the second indexer, update config/production.yaml to use the new index names and restart the main index.