Rest API for Syncing FreeTube instances
Updated all endpoints to use Update() method of the model, instead of trying to use the data from the REST object directly to update the database. WHen doing so, tracking gets busted in EFCore, so instead, will go through and update all properties of a model from the database object, with the data from the REST object. |
||
|---|---|---|
| FreeTubeSync | ||
| .dockerignore | ||
| .gitignore | ||
| compose.yaml | ||
| Dockerfile | ||
| FreeTubeSync.sln | ||
| global.json | ||
| README.md | ||
FreeTubeSync is an Open API, Single User, synchronization REST server to allow for synchronization of data between machines.
What you can sync:
- Watch History
- Profiles / Subscriptions
- Settings
- Playlists
- Search History
Setup
To setup the API server, simple create a docker compose file with contents below, and run docker compose up -d
services:
freetubesync:
image: forge.eumario.dev/eumario/freetubesync:latest
ports:
- "8080:8080"
volumes:
- ./data:/data
This project is currently only setup to be a Single User instance, no login/account system currently exists within the project setup. If you want Multi-User support, it's best to create multiple docker containers for each user you want to have this capability for.