~sircmpwn/receptor

Web frontend for the synapse bittorrent client
Update a bunch of dependencies
Fix typo of synapse
9c252c72 — Luminarys 3 years ago
Ensure going to home page clears search filter

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~sircmpwn/receptor
read/write
git@git.sr.ht:~sircmpwn/receptor

You can also use your local clone with git send-email.

#receptor

Web frontend for synapse.

A hosted instance is available at https://web.synapse-bt.org.

#Installation

git submodule update --init --recursive
npm install
npm start

At this point you can navigate to http://localhost:3000 to make sure everything worked. At this point your configuration should be suitable for local development. For a production installation, press Ctrl-C and continue:

npm run build:production

Serve index.html and the dist/ directory as static content on your web server. You'll need to serve index.html for any route that would otherwise 404. Here's an example nginx configuration:

server {
    server_name web.synapse-bt.org;
    listen 80;
    
    location / {
        root /var/www/path/to/site;
        try_files $uri /index.html;
    }

    location /dist {
        root /var/www/path/to/site/dist;
    }
}