{"id":22174180,"url":"https://github.com/jbolda/quantum-devtools","last_synced_at":"2025-10-30T06:39:25.889Z","repository":{"id":264949835,"uuid":"838939261","full_name":"jbolda/quantum-devtools","owner":"jbolda","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-06T16:30:44.000Z","size":759,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T00:43:42.272Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbolda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"AtilaFassina"}},"created_at":"2024-08-06T16:30:41.000Z","updated_at":"2024-08-06T16:30:48.000Z","dependencies_parsed_at":"2024-11-27T00:15:41.477Z","dependency_job_id":null,"html_url":"https://github.com/jbolda/quantum-devtools","commit_stats":null,"previous_names":["jbolda/quantum-devtools"],"tags_count":0,"template":false,"template_full_name":"atilafassina/quantum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbolda%2Fquantum-devtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbolda%2Fquantum-devtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbolda%2Fquantum-devtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbolda%2Fquantum-devtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbolda","download_url":"https://codeload.github.com/jbolda/quantum-devtools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245325222,"owners_count":20596818,"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","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":"2024-12-02T07:39:05.102Z","updated_at":"2025-10-30T06:39:20.860Z","avatar_url":"https://github.com/jbolda.png","language":"TypeScript","funding_links":["https://github.com/sponsors/AtilaFassina"],"categories":[],"sub_categories":[],"readme":"# Quantum\n\nThis template should help get you started developing with Tauri + SolidStart + TypeScript.\n\n\u003e [!note]\n\u003e Tauri v2 is already considered stable, it is currently at the Release Candidate stage. This means only minor fixes are expected towards the stable release.\n\n## Cloning it 🐑\n\nYou can use the Template button on the GitHub UI and shallow clone this repository. Or, do it with degit:\n\n```sh\nnpx degit atilafassina/quantum\n```\n\nAlternatively, good old `git clone` can also work. It's recommended to make a shallow clone so it doesn't bring entire repository history:\n\n```sh\ngit clone --depth 1 https://github.com/atilafassina/quantum\n```\n\n## Running 🚤\n\nThe snippets below use [PNPM](https://pnpm.io) as the package manager and task runner, but Yarn, NPM, Bun, or Cargo should also work with the appropriate syntax.\n\n\u003e 🛟 Check the [Tauri Docs](https://beta.tauri.app/) for more guidance on building your app.\n\nFirst step is always to install JavaScript dependencies from the root:\n\n```sh\npnpm install\n```\n\n## Desktop (MacOS, Linux, or Windows) 🖥️\n\nOnce the template is properly cloned, install Node.js dependencies and you can run the Tauri app.\n\n```sh\npnpm tauri dev\n```\n\n## iOS 🍎\n\n\u003cimg src=\"/docs/ios.png\" align=\"right\" height=\"300\"/\u003e\n\n[Check the prerequisites](https://beta.tauri.app/guides/prerequisites/#ios) for having iOS ready to run (MacOS only).\nOnce that is done, let’s create the XCode project:\n\n```sh\npnpm tauri ios init\n```\n\nIf everything runs successfully (keep an eye for warnings on your terminal).\nYou can start the development server:\n\n```sh\npnpm tauri ios dev --open\n```\n\nThis command will open XCode with your project, select the simulator and get ready to run.\n\n## Android 🤖\n\n\u003cimg src=\"/docs/android.png\" align=\"right\" height=\"300\"/\u003e\n\n[Android Studio and a few other steps will be required](https://beta.tauri.app/guides/prerequisites/#android) to get things up and running.\nOnce that's done, you can initialize the project:\n\n```sh\npnpm tauri android init\n```\n\nOpen the Android Studio, and run the development build:\n\n```sh\npnpm tauri android dev\n```\n\nThis command will open the Android Pixel simulator.\n\n## Continuous Integration and deployment\n\nThis template implements a GitHub Action workflow that builds and publishes the binaries for MacOS, Linux, and Windows. You can check the `.github/workflows/release.yml` file for more details. The draft and publishing of release happens through [CrabNebula Cloud](https://crabnebula.dev/cloud). To fully use this feature you will need to have a CrabNebula account and add the necessary secrets to your repository.\n\n| Key                                  | Description                                                  |\n| ------------------------------------ | ------------------------------------------------------------ |\n| `CN_API_KEY`                         | The API key for your CrabNebula account.                     |\n| `CN_APP_SLUG`                        | The slug of the app you want to publish.                     |\n| `TAURI_SIGNING_PRIVATE_KEY`          | The private key used to sign the MacOS and Windows binaries. |\n| `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` | The password for the private key.                            |\n\nBesides those, in the `tauri.conf.json` it is also important to add a `pubkey` for the auto-updater.\n\n## Build Optimization ⚡\n\nWith a few opinionated defaults, Quantum enforces a smaller binary size than stock Tauri templates. Except for some special cases, these work particularly well.\n\n- `panic = \"abort\"`\n  The compiler will abort the program immediately when a panic occurs in production. Without performing any cleanup. Code will execute faster, the tradeoff is you won't get as much information about the panic when it occurs.\n\n- `codegen-units = 1`\n  Explicitly tells the compiler to use only one code generation unit during compilation. Code generation units (CGUs) represent individual units of code that the compiler processes independently.\n\nReducing CGUs to a minimum will potentially reduces memory consumption and leads to faster compilation time. This setting hinders parallelization, so it's worth to benchmark in your particular app.\n\n- `lto = true`\n  Link Time Optimization (lto) enables the compiler to make more aggressive optimizations than it can do at the individual file level, resulting in potentially significant performance improvements in the final executable. However, enabling LTO may increase compilation times and require more memory during the linking phase, as the compiler needs to analyze and optimize a larger amount of code.\n\n- `opt-level = \"s\"`\n\nSpecifying the optimization level to be \"size-optimized.\" This option instructs the compiler to prioritize reducing the size of the generated code while still aiming for reasonable performance.\n\nUsing `\"s\"` is a **balanced** optimization. Some apps may find faster compilation times with `opt-level=\"z\"`, though this may bring slower runtime performance as a tradeoff.\n\n- `strip = true`\n\nStripping symbols from generated code is generally recommended for release builds where binary size is a concern, and debuggability is less critical. It helps produce leaner binaries, which can be beneficial for deployment, distribution, or running in resource-constrained environments. Additionally, it can slightly enhance security because it makes the binaries harder to analyze.\n\n## Suggested VSCode extensions 💡\n\n- [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode)\n- [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)\n- [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss)\n\n---\n\n\u003cimg width=\"50\" src=\"/public/tauri.svg\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbolda%2Fquantum-devtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbolda%2Fquantum-devtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbolda%2Fquantum-devtools/lists"}