{"id":26154487,"url":"https://github.com/codeforreal1/local-first-desktop-app-rust-nodejs","last_synced_at":"2026-03-16T01:07:51.878Z","repository":{"id":243077149,"uuid":"811400209","full_name":"codeforreal1/Local-First-Desktop-App-Rust-NodeJS","owner":"codeforreal1","description":"Cross platform desktop app with local-first architecture with Node.js backend server.","archived":false,"fork":false,"pushed_at":"2024-06-06T14:41:05.000Z","size":56804,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-11T08:36:11.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codeforreal1.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":"2024-06-06T14:22:26.000Z","updated_at":"2025-03-07T11:18:14.000Z","dependencies_parsed_at":"2024-06-06T16:15:42.398Z","dependency_job_id":"e56f0cb2-6fce-4544-afd0-68f257488bbf","html_url":"https://github.com/codeforreal1/Local-First-Desktop-App-Rust-NodeJS","commit_stats":null,"previous_names":["codeforreal1/local-first-desktop-app-rust-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeforreal1/Local-First-Desktop-App-Rust-NodeJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforreal1%2FLocal-First-Desktop-App-Rust-NodeJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforreal1%2FLocal-First-Desktop-App-Rust-NodeJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforreal1%2FLocal-First-Desktop-App-Rust-NodeJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforreal1%2FLocal-First-Desktop-App-Rust-NodeJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeforreal1","download_url":"https://codeload.github.com/codeforreal1/Local-First-Desktop-App-Rust-NodeJS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforreal1%2FLocal-First-Desktop-App-Rust-NodeJS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28015089,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"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":"2025-03-11T08:29:58.564Z","updated_at":"2025-12-25T01:11:35.249Z","avatar_url":"https://github.com/codeforreal1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cross platform desktop app with local-first architecture.\n\nThis project is an example of how to use Node.js as a sidecar in Tauri if you find building the backend in Rust very complex. While, the point of using Rust is to make the desktop app perform better and secure, but you still have the option to use other tech. You can even use Python with this approach. You can find this same project whose backend was written in Rust from [here](https://github.com/codeforreal1/Local-First-Desktop-App-Rust).\n\n### Tech:\n\n- Next.js(UI)\n- Node.js(Server)\n- Tauri\n- Sqlite with Drizzle ORM\n\n### Building\n\nThis project uses Hono server created in Node.js as a sidecar for Tauri. The project uses `@yao-pkg/pkg` for compiling the Node.js project into a single binary after making a single bundle js file using esbuild.\n\nFor local development:\n\n```\ncd src-server\npnpm install\npnpm server:build\n```\n\n`pnpm server:build` will create a bundle file and place the server binary inside `src-tauri/bin/server-\u003cplatform-architecture\u003e. See [Tauri Sidecar](https://tauri.app/v1/guides/building/sidecar/) for more info.\n\nThen you can run the tauri dev server using:\n\n```\npnpm tauri:dev\npnpm next:dev\n```\n\nFor prod app build:\n\n```\npnpm tauri:build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforreal1%2Flocal-first-desktop-app-rust-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeforreal1%2Flocal-first-desktop-app-rust-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforreal1%2Flocal-first-desktop-app-rust-nodejs/lists"}