{"id":14155332,"url":"https://github.com/MP281X/blixter","last_synced_at":"2025-08-06T01:31:06.892Z","repository":{"id":188295259,"uuid":"677995417","full_name":"MP281X/blixter","owner":"MP281X","description":"An open source streaming platform","archived":false,"fork":false,"pushed_at":"2024-06-04T13:01:55.000Z","size":1314,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-17T08:05:06.345Z","etag":null,"topics":["bun","ffmpeg","full-stack","k3s","kubernetes","minio","monorepo","postgresql","redis","sveltekit","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/MP281X.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}},"created_at":"2023-08-13T10:47:34.000Z","updated_at":"2024-07-30T15:57:19.000Z","dependencies_parsed_at":"2024-06-04T13:47:01.329Z","dependency_job_id":null,"html_url":"https://github.com/MP281X/blixter","commit_stats":null,"previous_names":["mp281x/blixter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP281X%2Fblixter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP281X%2Fblixter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP281X%2Fblixter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP281X%2Fblixter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MP281X","download_url":"https://codeload.github.com/MP281X/blixter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228821404,"owners_count":17977166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","ffmpeg","full-stack","k3s","kubernetes","minio","monorepo","postgresql","redis","sveltekit","typescript"],"created_at":"2024-08-17T08:02:51.786Z","updated_at":"2024-12-09T02:31:18.651Z","avatar_url":"https://github.com/MP281X.png","language":"TypeScript","funding_links":[],"categories":["typescript"],"sub_categories":[],"readme":"# Blixter\n\nBlixter in an open-source streaming platform that i created to improve my frontend and backend skills and knowledge\n\nIt's a typescript monorepo that use `typescript` for the backend and `sveltekit` for the frontend\n\nIt's deployed on a self-hosted `k3s` cluster an it's powered by the `bun` javascript runtime\n\nIt relies on `postgres` as the primary db and `redis` for the cache, pub-sub and queues.\n\nThe files are stored on minio, an S3 compatible object storage\n\n## Running Locally\n\n#### Environment Configuration (.env)\n\nTo run Blixter locally, create a `.env` file with these environment variables:\n\n```sh\nREDIS_URL=redis://{host}:{port}\nPOSTGRES_URL=postgresql://{username}:{password}@{host}:{port}/blixter?sslmode=disable\nS3_KEY=\nS3_SECRET=\nSALT=\n```\n\n#### Starting the Projects\n\n```sh\nbun install         # install the project dependency\nbun run dev         # run the projects in development mode\nbun run preview     # simulate production mode\n```\n\n## Project structure\n\n```sh\n├── .github/        # GitHub Actions Configuration\n├── app/            # Applications\n├── k8s/            # Kubernetes Manifests\n├── packages/       # Shared Code\n├── scripts/        # Scripts\n└── task-runner.ts  # Task runner\n```\n\n## Task Runner\n\nThe Task Runner script is a versatile tool:\n\n- It locates and runs scripts specified in the cli args for each project (if the project has that script).\n- It handles log formatting, code checks with `prettier`, code generation, and project linting with `tsc`.\n- In development mode, it runs all apps in parallel and triggers the code generation scripts when specified files change. It also applies Prettier code formatting and regenerates generated or cached files.\n- In test mode, it runs the .test.ts file specified in the script arguments.\n- In other modes, it run the code generation on startup, checks TypeScript types with TSC, ensures code formatting with Prettier and reports errors if tasks fail.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMP281X%2Fblixter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMP281X%2Fblixter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMP281X%2Fblixter/lists"}