{"id":51129628,"url":"https://github.com/vardhin/hardcoreai","last_synced_at":"2026-06-25T11:01:03.463Z","repository":{"id":362691865,"uuid":"1254442847","full_name":"vardhin/HardcoreAI","owner":"vardhin","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-16T17:50:02.000Z","size":11521,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-16T19:25:29.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/vardhin.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":null,"dco":null,"cla":null}},"created_at":"2026-05-30T15:14:51.000Z","updated_at":"2026-06-12T12:23:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vardhin/HardcoreAI","commit_stats":null,"previous_names":["vardhin/hardcoreai"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/vardhin/HardcoreAI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vardhin%2FHardcoreAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vardhin%2FHardcoreAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vardhin%2FHardcoreAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vardhin%2FHardcoreAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vardhin","download_url":"https://codeload.github.com/vardhin/HardcoreAI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vardhin%2FHardcoreAI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34771664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"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":[],"created_at":"2026-06-25T11:01:02.657Z","updated_at":"2026-06-25T11:01:03.440Z","avatar_url":"https://github.com/vardhin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HARDCOREAI - Embedded Developer Workspace\n\nA premium, modern embedded developer workspace built with Svelte 5, TypeScript, and Vite. Optimize compilation, flashing, and debug loops directly on target microcontrollers with zero unnecessary visual noise.\n\n## Tech Stack\n- **Framework**: [Svelte 5](https://svelte.dev/)\n- **Language**: [TypeScript](https://www.typescriptlang.org/)\n- **Build Tool**: [Vite](https://vite.dev/)\n- **Backend**: [FastAPI](https://fastapi.tiangolo.com/)\n- **Icons**: [Lucide Svelte](https://lucide.dev/guide/svelte)\n\n---\n\n## Getting Started\n\n### 1. Prerequisites\nEnsure you have [Node.js](https://nodejs.org/) and Python 3.12 installed.\nThe backend works best with [uv](https://docs.astral.sh/uv/), but the scripts\nfall back to the active Python environment when possible.\n\n### 2. Installation\nInstall frontend dependencies:\n```bash\ncd frontend\nnpm install\n```\n\nInstall backend dependencies:\n```bash\ncd backend\nuv sync\n```\n\n### 3. Development Servers\nStart the backend and frontend dev servers together from the repo root:\n```bash\nnode scripts/dev.mjs\n```\nOpen **[http://127.0.0.1:32016/](http://127.0.0.1:32016/)** in your browser.\nThe frontend runs on port `32016`; the backend runs on port `32018`.\n\n---\n\n## Scripts\n\n### Dev\nRun FastAPI with reload and Vite concurrently:\n```bash\nnode scripts/dev.mjs\n```\n\nOptional backend bind settings:\n```bash\nBACKEND_HOST=127.0.0.1 BACKEND_PORT=32018 node scripts/dev.mjs\n```\nOn Windows PowerShell:\n```powershell\n$env:BACKEND_HOST=\"127.0.0.1\"; $env:BACKEND_PORT=\"32018\"; node scripts/dev.mjs\n```\n\n### Build Single App\nBuild the Svelte app into `frontend/dist` and validate backend Python sources:\n```bash\nnode scripts/build.mjs\n```\nFastAPI serves the built frontend from `frontend/dist`.\n\n### Build And Run Single App\nBuild the single app, then run FastAPI serving the built Svelte app:\n```bash\nnode scripts/run-build.mjs\n```\n\nIf `frontend/dist` is already built:\n```bash\nnode scripts/run-build.mjs --skip-build\n```\n\nOpen **[http://127.0.0.1:32018/](http://127.0.0.1:32018/)**.\n\n### Release Package\nCreate a release archive under `release/`:\n```bash\nRELEASE_VERSION=v0.1.0 node scripts/release.mjs\n```\nOn Windows PowerShell:\n```powershell\n$env:RELEASE_VERSION=\"v0.1.0\"; node scripts/release.mjs\n```\n\nThe archive contains the backend source and built `frontend/dist`, excluding\nlocal env files, virtual environments, Node dependencies, and generated build\nartifacts.\n\n### GitHub Releases\nThe GitHub Actions workflow at `.github/workflows/release.yml` publishes the\nsingle-app archive to GitHub Releases.\n\nPush a version tag to release:\n```bash\ngit tag v0.1.0\ngit push origin v0.1.0\n```\n\nYou can also run the workflow manually from GitHub Actions and provide a version\nsuch as `v0.1.0`.\n\n---\n\n## Commands \u0026 Testing\n\n### Type \u0026 Svelte Diagnostic Checks\nVerify that the code has zero syntax or TypeScript errors:\n```bash\ncd frontend\nnpx svelte-check\n```\n\n### Frontend Build Only\nCompile only the Vite frontend:\n```bash\ncd frontend\nnpm run build\n```\nThe optimized frontend bundle will be created inside `frontend/dist/`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvardhin%2Fhardcoreai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvardhin%2Fhardcoreai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvardhin%2Fhardcoreai/lists"}