Rest API for Syncing FreeTube instances
Ensure that we are adding videos to the playlist database object when we insert them. Updated logic to follow profiles for playlist. Do not search for existing subs when inserting a new sub, the sub's belongs to id will be different. Formatted linq statement to be multi-line, instead of single line, to make it easier to read. Removed check for subscription if we are adding a new one, the profile id is going to be different. Ensure we are deleting subs from the database when they are no longer associated with a profile. |
||
|---|---|---|
| FreeTubeSync | ||
| .dockerignore | ||
| .gitignore | ||
| compose.yaml | ||
| Dockerfile | ||
| FreeTubeSync.sln | ||
| FreeTubeSync.sln.DotSettings.user | ||
| 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:/app/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.