{"id":47612842,"url":"https://github.com/dlukt/discool","last_synced_at":"2026-04-01T20:47:49.993Z","repository":{"id":339216520,"uuid":"1160387900","full_name":"dlukt/discool","owner":"dlukt","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-29T11:27:51.000Z","size":3810,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-29T13:44:35.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/dlukt.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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-17T22:02:01.000Z","updated_at":"2026-03-29T10:57:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dlukt/discool","commit_stats":null,"previous_names":["dlukt/discool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dlukt/discool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlukt%2Fdiscool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlukt%2Fdiscool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlukt%2Fdiscool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlukt%2Fdiscool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dlukt","download_url":"https://codeload.github.com/dlukt/discool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlukt%2Fdiscool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"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":[],"created_at":"2026-04-01T20:47:49.245Z","updated_at":"2026-04-01T20:47:49.981Z","avatar_url":"https://github.com/dlukt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discool\n\nDiscool is a self-hosted communication platform: **Rust (Axum) backend** + **Svelte 5 SPA** (embedded into the server binary via `rust-embed`).\n\n## Quickstart (Docker / production)\n\n1. (Optional) Create a config file:\n   ```bash\n   cp config.example.toml config.toml\n   # edit config.toml (at minimum: database.url if you don't want to use env vars)\n   ```\n\n2. Start Discool + PostgreSQL (pull from GHCR; or add `--build` to build locally):\n   ```bash\n   docker compose pull\n   docker compose up -d\n   ```\n\n3. Open: http://localhost:3000 and complete first-run setup.\n\n### Configuration\n\n- Config load order:\n  1. `/etc/discool/config.toml`\n  2. `./config.toml`\n  3. `$DISCOOL_CONFIG`\n  4. Environment variables (highest priority)\n\nIn `docker-compose.yml`, you can:\n- set env var overrides under `services.discool.environment`\n- mount a persistent config file:\n  ```yaml\n  # services:\n  #   discool:\n  #     volumes:\n  #       - ./config.toml:/etc/discool/config.toml:ro\n  ```\n\n**Security note:** The provided Postgres credentials in `docker-compose.yml` are example defaults; change them before exposing the instance publicly.\n\n### Updating\n\n```bash\ndocker compose pull\ndocker compose up -d\n```\n\n## Development\n\n### Local (recommended)\n\n```bash\ncd server \u0026\u0026 cargo run\ncd client \u0026\u0026 npm run dev\n```\n\n### Docker (SQLite dev container)\n\n```bash\ndocker compose -f docker-compose.dev.yml up -d --build\n```\n\n## Quality gates\n\n```bash\ncd client \u0026\u0026 npm run lint \u0026\u0026 npm run check\ncd server \u0026\u0026 cargo fmt --check \u0026\u0026 cargo clippy -- -D warnings \u0026\u0026 cargo test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlukt%2Fdiscool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlukt%2Fdiscool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlukt%2Fdiscool/lists"}