{"id":26649996,"url":"https://github.com/redraskal/clips","last_synced_at":"2026-02-11T04:31:09.590Z","repository":{"id":207697220,"uuid":"714138189","full_name":"redraskal/clips","owner":"redraskal","description":"Self-hosted video game clips website using Bun \u0026 bun:sqlite.","archived":false,"fork":false,"pushed_at":"2024-11-10T23:56:33.000Z","size":1400,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T03:51:43.401Z","etag":null,"topics":["bun","clips","ffmpeg","sqlite","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redraskal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-11-04T02:47:09.000Z","updated_at":"2024-11-28T05:41:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfa2fa9a-5e7b-41b6-9fb4-de610517874a","html_url":"https://github.com/redraskal/clips","commit_stats":null,"previous_names":["redraskal/clips"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redraskal/clips","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraskal%2Fclips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraskal%2Fclips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraskal%2Fclips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraskal%2Fclips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redraskal","download_url":"https://codeload.github.com/redraskal/clips/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraskal%2Fclips/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29327090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T03:52:29.695Z","status":"ssl_error","status_checked_at":"2026-02-11T03:52:23.094Z","response_time":97,"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":["bun","clips","ffmpeg","sqlite","typescript"],"created_at":"2025-03-25T01:50:49.599Z","updated_at":"2026-02-11T04:31:09.571Z","avatar_url":"https://github.com/redraskal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clips\n\nSelf-hosted video game clips website using Bun, bun:sqlite, \u0026 FFmpeg.\n\n**Work-in-progress, especially the UI design**\n\n![screenshot of a clips deployment](example.jpg)\n\n## Production Quick start:\n\n1. Build a Docker image with the provided Dockerfile\n2. Setup a Discord OAuth app at https://discord.com/developers/applications\n3. Include the following env variables when deploying your Docker app: DISCORD_CLIENT_ID, DISCORD_CLIENT_SECRET, DISCORD_REDIRECT_URI\n4. Pull your Discord User ID by enabling Developer Mode on Discord and right clicking your profile picture\n5. Supply your Discord User ID in the DISCORD_ADMINS \u0026 DISCORD_WHITELIST env variables\n6. Modify STORAGE_PATH and DATABASE env variables for platform storage in Docker volumes\n7. Expose the container server port (default: 3000) to a reverse proxy\n\n## Environmental variables:\n\n| Name                  | Description                                            | Default                                   |\n| --------------------- | ------------------------------------------------------ | ----------------------------------------- |\n| DISCORD_CLIENT_ID     | Discord OAuth client id                                |                                           |\n| DISCORD_CLIENT_SECRET | Discord OAuth client secret                            |                                           |\n| DISCORD_REDIRECT_URI  | Discord OAuth redirect uri                             |                                           |\n| DISCORD_WHITELIST     | Comma-separated list of Discord user id's for signups  |                                           |\n| DISCORD_ADMINS        | Comma-separated list of site admins by Discord user id |                                           |\n| STORAGE_PATH          | Storage path for uploads                               | ./storage                                 |\n| DATABASE              | SQLite storage path                                    | clips.sqlite                              |\n| GATEWAY_HOSTNAME      | HTTP server hostname                                   | 0.0.0.0                                   |\n| GATEWAY_PORT          | HTTP server port                                       | 3000                                      |\n| GATEWAY_ENV           | Environment                                            | prod with `bun start`, dev with `bun dev` |\n| GATEWAY_DEBUG         | console.debug output                                   | false                                     |\n| GATEWAY_CACHE_TTL     | Cache-Control max age                                  | 3600                                      |\n| GATEWAY_JSON_ERRORS   | Whether to output errors in JSON responses             | true                                      |\n\n## To install dependencies:\n\n```bash\nbun i\n```\n\n## To generate a route:\n\n```bash\nbun gen {name}\n\nbun gen test\n# or\nbun gen test.ts\n# 📝 pages/test.ts created.\n```\n\nThe new route will automatically open in Visual Studio Code.\n\n## To run a development server:\n\n```bash\nbun dev\n```\n\n## To run a production server:\n\n```bash\nbun start\n```\n\nThis project was created with [Bun](https://bun.sh), a fast all-in-one JavaScript runtime.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredraskal%2Fclips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredraskal%2Fclips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredraskal%2Fclips/lists"}