{"id":31568474,"url":"https://github.com/mrpandir/mediasyncbridge","last_synced_at":"2026-04-11T20:41:09.542Z","repository":{"id":315137995,"uuid":"1058058109","full_name":"MrPandir/MediaSyncBridge","owner":"MrPandir","description":"A REST API service for parsing and processing links to media content from services like Kinopoisk, IGDB, Shikimori, IMDb, and Steam.","archived":false,"fork":false,"pushed_at":"2025-11-07T17:13:50.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-07T19:10:03.735Z","etag":null,"topics":["api","async-python","fastapi","id-mapping","igdb-api","imdb-api","kinopoisk-api","media-api","python3","python3-12","rest-api","rye","shikimori-api","steam-api","url-parser"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/mrpandir/media-sync-bridge","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrPandir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-16T15:06:44.000Z","updated_at":"2025-11-07T17:13:54.000Z","dependencies_parsed_at":"2025-09-16T23:57:15.229Z","dependency_job_id":"ce4e2804-ed02-4f3c-af09-a13da5a99fe7","html_url":"https://github.com/MrPandir/MediaSyncBridge","commit_stats":null,"previous_names":["mrpandir/mediasyncbridge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MrPandir/MediaSyncBridge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPandir%2FMediaSyncBridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPandir%2FMediaSyncBridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPandir%2FMediaSyncBridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPandir%2FMediaSyncBridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrPandir","download_url":"https://codeload.github.com/MrPandir/MediaSyncBridge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPandir%2FMediaSyncBridge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31695165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T20:18:30.949Z","status":"ssl_error","status_checked_at":"2026-04-11T20:18:29.982Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","async-python","fastapi","id-mapping","igdb-api","imdb-api","kinopoisk-api","media-api","python3","python3-12","rest-api","rye","shikimori-api","steam-api","url-parser"],"created_at":"2025-10-05T10:24:46.372Z","updated_at":"2026-04-11T20:41:09.536Z","avatar_url":"https://github.com/MrPandir.png","language":"Python","readme":"# MediaSyncBridge\n\nA REST API service for parsing and processing links to media content from services like Kinopoisk, IGDB, Shikimori, IMDb, and Steam.\n\n## Installation\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e This project requires [Python](https://www.python.org/) 3.12 or higher.\n\u003e\n\u003e It uses [Rye](https://rye-up.com/) for dependency management.\n\n1. Clone the repository\n   ```\n   git clone https://github.com/MrPandir/MediaSyncBridge.git\n   cd MediaSyncBridge\n   ```\n\n2. Install dependencies\n   ```bash\n   rye sync\n   ```\n\n3. Copy the example configuration file and fill it in\n   ```bash\n   cp .env.example .env\n   ```\n   Fill in the values in `.env` [(details below)](#configuration).\n\n4. Run the server\n   - For development (with reload enabled, available at [http://localhost:80](http://localhost:80))\n     ```bash\n     rye run dev\n     ```\n   - For production\n     ```bash\n     python -m src.server\n     ```\n     or\n     ```bash\n     uvicorn src.server:app --host 0.0.0.0 --port 8000\n     ```\n\n## Configuration\n\nTo work with external APIs, environment variables need to be configured. Use the `.env` file based on the example `.env.example`.\n\n```\n# Client credentials for IGDB (obtain at https://dev.twitch.tv/console)\nIGDB_CLIENT_ID=\nIGDB_CLIENT_SECRET=\n\n# API key for Kinopoisk (obtain at https://kinopoiskapiunofficial.tech)\nKINOPOISK_API_KEY=\n```\n\nThese keys are required for authenticating requests to IGDB and Kinopoisk. The other services (IMDb, Steam) utilize these two APIs. Shikimori does not require authorization.\n\n## Usage\n\n### Endpoint\n\n- **Method**: GET\n- **Path**: `/get`\n- **Parameters**:\n  - `url` (string, required): Link to media content from a supported service.\n\n### Example Request\n\n```\nGET http://localhost:8000/get?url=https://www.kinopoisk.ru/film/123456/\n```\n\n### Example Successful Response\n\n```json\n{\n  \"ids\": {\n    \"IMDb\": \"tt0061155\",\n    \"Kinopoisk\": \"123456\"\n  },\n  \"clean_url\": \"https://kinopoisk.ru/film/123456\",\n  \"service\": \"kinopoisk\"\n}\n```\n\n### Example Error Response\n\n```json\n{\n  \"error\": \"Unsupported link\",\n  \"link\": \"https://www.kinopoisk.ru/film/\"\n}\n```\n\nAPI documentation is available at `/docs` (Swagger UI) after starting the server.\n\n## Docker\n\nThe project is packaged as a Docker image for easy deployment.\n\n1. Build the image locally\n   ```\n   docker build -t media-sync-bridge .\n   ```\n\n2. Or pull from Docker Hub\n   ```\n   docker pull mrpandir/media-sync-bridge:latest\n   ```\n\n3. Run the container, passing environment variables\n   ```\n   docker run -d -p 8000:8000 \\\n     --env-file .env \\\n     mrpandir/media-sync-bridge\n   ```\n\nThe service will be available at [http://localhost:8000](http://localhost:8000).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrpandir%2Fmediasyncbridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrpandir%2Fmediasyncbridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrpandir%2Fmediasyncbridge/lists"}