{"id":51897615,"url":"https://github.com/ilyhalight/toiloff-backend","last_synced_at":"2026-07-26T12:30:28.452Z","repository":{"id":371426240,"uuid":"1297518475","full_name":"ilyhalight/toiloff-backend","owner":"ilyhalight","description":"My website backend written with Bun and Elysia ❤️","archived":false,"fork":false,"pushed_at":"2026-07-24T00:41:13.000Z","size":192,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-24T02:13:26.598Z","etag":null,"topics":["api","backend","bun"],"latest_commit_sha":null,"homepage":"https://toil.cc/api/v1/docs","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/ilyhalight.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-11T14:37:53.000Z","updated_at":"2026-07-24T00:34:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ilyhalight/toiloff-backend","commit_stats":null,"previous_names":["ilyhalight/toiloff-backend"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ilyhalight/toiloff-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Ftoiloff-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Ftoiloff-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Ftoiloff-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Ftoiloff-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilyhalight","download_url":"https://codeload.github.com/ilyhalight/toiloff-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Ftoiloff-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35914262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-26T02:00:06.503Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","backend","bun"],"created_at":"2026-07-26T12:30:27.975Z","updated_at":"2026-07-26T12:30:28.446Z","avatar_url":"https://github.com/ilyhalight.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toiloff backend\n\nMy website backend written with [Bun](https://bun.com) and [Elysia](https://elysiajs.com/) ❤️\n\n## Install\n\n### Assets\n\n#### Bad usernames\n\nRename `src/assets/bad-usernames.example.txt` to `src/assets/bad-usernames.txt`.\n\nIt's required for username filtering, also support comments with `#-- \u003ctext\u003e --#`.\n\nIn production, i respect content from example file, but I added a few lines based on my usernames\n\n### Configs\n\nPlease use env for set config values:\n\n```bash\n# APP_DOMAIN=https://toil.cc/api/\nPOSTGRES_PASSWORD=mysecretpassword\nCAPTCHA_SIGNATURE=your_captcha_signature\nCAPTCHA_KEY_SIGNATURE=your_captcha_key_signature\nAUTH_USERNAME=root\nAUTH_PASSWORD=root\nAUTH_SERVICE_TOKEN=your_secret_token\n```\n\n### With Docker\n\n1. Install Docker\n2. Make sure that you renamed `src/assets/bad-usernames.example.txt` to `src/assets/bad-usernames.txt`\n3. Build the image\n\n```bash\ndocker compose build\n```\n\n3. Run with docker compose\n\n```bash\ndocker compose up -d\n```\n\n### Without docker\n\n1. Install Bun, PostgreSQL 18, Valkey (Redis)\n2. Install depends\n\n```bash\nbun install\n```\n\n3. Make sure that you renamed `src/assets/bad-usernames.example.txt` to `src/assets/bad-usernames.txt`\n4. Rename `.example.env` -\u003e `.env` and fill it\n5. Migrate DB\n\n```bash\nbun migrate\n```\n\n5. Run notify worker (if you want to enable telegram bot notify)\n\n```bash\nbun worker:notify\n```\n\n6. Run server\n\n```bash\nbun start\n```\n\n## Ratelimits\n\nUse your reverse proxy or cloudflare account to set ratelimits for API\n\n## Docs \u0026 Tests\n\nAPI can be tested with [Voiden](https://voiden.md/) see [docs](./docs/) for details\n\nAll utility tests in **tests** folder, run with `bun test`.\n\n## Actualize data\n\nTo actualize data from external sources you can use [toiloff-workers](https://github.com/ilyhalight/toiloff-workers)\n\n## Roadmap\n\nCurrent planned roadmap with new features and other:\n\n### Features\n\n- [x] Implement project module\n- [ ] Implement logging with pino\n- [ ] Implement easy projects sorting with lexorank\n- [ ] Telegram notify on create new guest message\n- [ ] Implement blog module\n- [ ] Implement i18n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyhalight%2Ftoiloff-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filyhalight%2Ftoiloff-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyhalight%2Ftoiloff-backend/lists"}