{"repo":"OdyseeTeam/odysee-api","free":true,"listed":false,"github":"https://github.com/OdyseeTeam/odysee-api","clone":"git clone https://github.com/OdyseeTeam/odysee-api.git","description":"API server for Odysee","language":"Go","stars":244,"topics":["odysee","lbry","backend","api","blockchain"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"API Server for Odysee ⚠️ If you are looking for the UI code, that lives here: https://github.com/OdyseeTeam/odysee-frontend. ⚠️ This is the API server used by Odysee, mostly acting as a bridge between web and the blockchain. Required tools Running off source (the preferred way for development) 1. Launch the core environment containers docker compose up -d Note: if you're running a LBRY desktop app or a lbrynet instance, you will have to either shut it down or change its ports 2. Set up database schema if this is your first launch go run . db migrate up 3. Generate RSA key file ssh-keygen -t rsa -f token privkey.rsa -m pem 4. Start Odysee API server go run . 5. Clone odysee-frontend repo, if you don't have it 6. Launch UI in lbry-desktop repo folder Running with Docker Make sure you have recent enough Docker and docker compose installed. 1. Initialize and launch the containers This will pull and launch SDK and postgres images, which Odysee API requires to operate. docker compose -f docker-compose.yml -f docker-compose.app.yml up -d Note: if you're running a LBRY desktop app or lbrynet instance, you will have to either shut it down or change ports 2. Clone lbry-desktop repo, if you don't have it 3. Launch UI in lbry-desktop repo folder 4. Open http://localhost:9090/ in Chrome or Firefox for best experience Development tips Change DB schema 1. Create a schema migration 2. Apply schema migration with go run . db migrate up 3. Run make models for sqlboiler to pick up the changes T","default_branch":null,"files":null,"tree":[],"storefront":"/r/OdyseeTeam","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/OdyseeTeam/odysee-api/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."}