{"repo":"Lartza/SBbrowser","free":true,"listed":false,"github":"https://github.com/Lartza/SBbrowser","clone":"git clone https://github.com/Lartza/SBbrowser.git","description":"Web frontend to browse the SponsorBlock database written with Django","language":"Python","stars":51,"topics":["django","sponsorblock"],"license":"AGPL-3.0","category":"databases-storage","readme_excerpt":"SBTools SBTools is a Django web service for browsing the SponsorBlock database (https://sponsor.ajay.app/). The project is tested to work on Python 3.8. There is a publicly hosted instance of this service at https://sb.ltn.fi/ Installation & Usage To install the requirements on Linux, psycopg2 needs to be compiled. pip does this automatically if build requirements are available. https://www.psycopg.org/docs/install.html#build-prerequisites An alternative to building is to use psycopg2-binary . You can edit requirements.txt or install it manually if you can't or don't want to build. The binary version is not recommended for production by psycopg2 developers and could in certain situations lead to problems, which is why we default to building. https://www.psycopg.org/docs/install.html#psycopg-vs-psycopg-binary Development For development you can clone the repo, install requirements.txt (in a venv preferably) and run the Django development server with (venv) python manage.py runserver . Database should still be migrated to PostgreSQL (e.g. pgloader database.db postgresql://sponsorblock@localhost/sponsorblock ) and modified with INSERT INTO config VALUES ('updated', now()); or similar. Database connection details are configured in SBtools/settings/development.py The SECRET KEY doesn't need changing necessarily. Production There are helpful files under docs/ for deploying the service. All examples assume a Linux user sponsorblock with home folder at /srv/sponsorblock/ and proxying","default_branch":null,"files":null,"tree":[],"storefront":"/r/Lartza","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Lartza/SBbrowser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}