{"id":45704679,"url":"https://github.com/ghvstcode/sustn","last_synced_at":"2026-04-24T08:01:19.825Z","repository":{"id":340451058,"uuid":"1160396880","full_name":"Ghvstcode/sustn","owner":"Ghvstcode","description":"Sustn scans your codebase and creates a task list and knocks of those tasks. ","archived":false,"fork":false,"pushed_at":"2026-04-21T15:06:46.000Z","size":3760,"stargazers_count":3,"open_issues_count":9,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-21T15:28:49.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sustn.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ghvstcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2026-02-17T22:20:51.000Z","updated_at":"2026-04-06T08:21:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Ghvstcode/sustn","commit_stats":null,"previous_names":["ghvstcode/sustn"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Ghvstcode/sustn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghvstcode%2Fsustn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghvstcode%2Fsustn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghvstcode%2Fsustn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghvstcode%2Fsustn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ghvstcode","download_url":"https://codeload.github.com/Ghvstcode/sustn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghvstcode%2Fsustn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32214420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-02-25T00:01:58.919Z","updated_at":"2026-04-24T08:01:19.819Z","avatar_url":"https://github.com/Ghvstcode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://sustn.app\"\u003e\n    \u003cimg src=\"Github Header.png\" alt=\"sustn\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eYour codebase improves itself. You just review the PR.\u003c/b\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://sustn.app/docs\"\u003eDocs\u003c/a\u003e \u0026nbsp;·\u0026nbsp;\n  \u003ca href=\"https://sustn.app/changelog\"\u003eChangelog\u003c/a\u003e \u0026nbsp;·\u0026nbsp;\n  \u003ca href=\"https://sustn.app/#download\"\u003eDownload\u003c/a\u003e \u0026nbsp;·\u0026nbsp;\n  \u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nEvery AI coding tool waits for you to tell it what to do. **sustn** doesn't.\n\nIt scans your repositories, builds a prioritized backlog of improvements, and works through them automatically using your leftover [Claude Code](https://docs.anthropic.com/en/docs/claude-code) or [Codex](https://openai.com/index/introducing-codex/) subscription budget. Every change lands as a branch — nothing touches `main` without your approval.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"1186\" height=\"793\" alt=\"sustn_screenshot\" src=\"https://github.com/user-attachments/assets/0229becf-6f46-4d8e-bbcb-e2c8473b8b17\" /\u003e\n\u003c/p\u003e\n\n## How it works\n\n**1. Point it at your repos**\nAdd your repositories and sustn runs a deep scan using Claude Code or Codex. It finds dead code, missing tests, doc drift, security gaps, and tech debt — then ranks everything by impact.\n\n**2. Review, reorder, refine**\nYour backlog appears as a task list you control. Drag to reprioritize. Click into any task to see what the agent found and why it matters. Add notes or constraints before work begins.\n\n**3. Work happens automatically**\nsustn monitors your remaining subscription budget and picks up tasks when tokens are available. No prompts, no babysitting, no wasted tokens.\n\n**4. Approve and merge**\nEvery completed task lands as a branch. Review the diff, then create a PR with one click — or configure sustn to open PRs automatically.\n\n## Get started\n\n### Download (recommended)\n\nThe fastest way to use sustn is to download the Mac app:\n\n**[Download for Mac →](https://sustn.app/#download)**\n\nOnce installed, add a repository and sustn handles the rest. See the [Getting Started guide](https://sustn.app/docs#getting-started) for a full walkthrough.\n\n### Build from source\n\nIf you'd prefer to build locally:\n\n**Prerequisites:** Node.js \u003e= 22, Rust (stable), pnpm\n\n```bash\ngit clone https://github.com/ghvstcode/sustn.git\ncd sustn\npnpm install\npnpm tauri:dev\n```\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md) for the full development setup and commands.\n\n### Nightly builds\n\nNightly builds are published automatically from the latest `main` branch. They may include unreleased features or experimental changes.\n\n**[Browse nightly releases →](https://github.com/Ghvstcode/sustn/releases/tag/nightly)**\n\n\u003e **Note:** Nightly builds are unsigned and may be less stable than tagged releases. macOS will prompt you to allow the app in **System Settings → Privacy \u0026 Security** on first launch.\n\n## What gets detected\n\nsustn scans for a wide range of codebase improvements:\n\n- **Dead code** — unused exports, unreachable branches, orphaned files\n- **Missing tests** — untested functions, edge cases, critical paths\n- **Documentation drift** — stale comments, outdated READMEs, missing JSDoc\n- **Security gaps** — hardcoded secrets, missing input validation, dependency vulnerabilities\n- **Tech debt** — duplicated logic, overly complex functions, inconsistent patterns\n- **Performance** — N+1 queries, unnecessary re-renders, unoptimized imports\n\n## Architecture\n\nsustn is a native desktop app built with:\n\n| Layer         | Tech                                                                   |\n| ------------- | ---------------------------------------------------------------------- |\n| Desktop shell | [Tauri v2](https://v2.tauri.app) (Rust)                                |\n| Frontend      | React 19, TypeScript, Tailwind CSS, [shadcn/ui](https://ui.shadcn.com) |\n| State         | Zustand (client), TanStack Query (async)                               |\n| Database      | SQLite via tauri-plugin-sql                                            |\n| AI agents     | Claude Code, Codex (via CLI)                                           |\n\nThe agent engine runs in Rust and manages scanning, task prioritization, budget tracking, git branch lifecycle, and the implement → review → retry loop. See the [Architecture docs](https://sustn.app/docs#architecture) for details.\n\n## Contributing\n\nWe welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for setup instructions and coding conventions.\n\n```bash\npnpm tauri:dev     # Start dev environment\npnpm validate      # Lint + format check + typecheck\npnpm test          # Run tests\n```\n\n## Documentation\n\nFull documentation is available at **[sustn.app/docs](https://sustn.app/docs)** covering:\n\n- [Getting Started](https://sustn.app/docs#getting-started) — installation, prerequisites, onboarding\n- [Core Concepts](https://sustn.app/docs#core-concepts) — projects, tasks, the agent engine, budget\n- [Scanning \u0026 Discovery](https://sustn.app/docs#scanning) — how scanning works, what gets detected\n- [Task Management](https://sustn.app/docs#task-management) — lifecycle, properties, prioritization\n- [Automated Execution](https://sustn.app/docs#execution) — work phases, retry \u0026 error handling\n- [Code Review \u0026 PRs](https://sustn.app/docs#review) — diff viewer, creating pull requests\n- [Configuration](https://sustn.app/docs#configuration) — settings, scheduling, budget controls\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghvstcode%2Fsustn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghvstcode%2Fsustn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghvstcode%2Fsustn/lists"}