{"id":13801363,"url":"https://github.com/Web3-Builders-Alliance/soda","last_synced_at":"2025-05-13T11:31:08.195Z","repository":{"id":120070389,"uuid":"604735294","full_name":"Web3-Builders-Alliance/soda","owner":"Web3-Builders-Alliance","description":"From an IDL to whatever you want","archived":false,"fork":false,"pushed_at":"2024-09-11T19:39:54.000Z","size":10518,"stargazers_count":30,"open_issues_count":1,"forks_count":10,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-29T11:06:44.831Z","etag":null,"topics":["rust","solana","tauri"],"latest_commit_sha":null,"homepage":"https://www.usesoda.dev","language":"Handlebars","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Web3-Builders-Alliance.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"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}},"created_at":"2023-02-21T17:20:59.000Z","updated_at":"2025-03-12T19:53:44.000Z","dependencies_parsed_at":"2024-02-09T23:23:07.349Z","dependency_job_id":"1674bee3-1c04-46f9-baea-e840981d38ad","html_url":"https://github.com/Web3-Builders-Alliance/soda","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3-Builders-Alliance%2Fsoda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3-Builders-Alliance%2Fsoda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3-Builders-Alliance%2Fsoda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3-Builders-Alliance%2Fsoda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Web3-Builders-Alliance","download_url":"https://codeload.github.com/Web3-Builders-Alliance/soda/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253932811,"owners_count":21986451,"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":["rust","solana","tauri"],"created_at":"2024-08-04T00:01:22.033Z","updated_at":"2025-05-13T11:31:05.188Z","avatar_url":"https://github.com/Web3-Builders-Alliance.png","language":"Handlebars","funding_links":[],"categories":["Development Tools and Libraries","Applications"],"sub_categories":["Development Frameworks and SDKs","Developer tools"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/Web3-Builders-Alliance/soda/blob/main/assets/soda.png?raw=true\" width=\"200\"\u003e\n\u003c/p\u003e\n\n# Soda: Fast Code Generator for Solana\n\nSoda is a powerful code generator that allows you to build program prototypes at Solana speed. It enables you to generate mobile and web clients from Solana programs effortlessly.\n\n## Current Features\n\n- Generate Solana Programs and client source code from an IDL.\n- Write, read, and edit IDL in a desktop UI.\n- Template-based approach:\n  - Create custom building blocks.\n  - Use Handlebars with Rhai scripting.\n  - Common helpers are included by default.\n  - Support for custom helpers.\n  - Handle binary files and dynamic paths.\n  - Language-agnostic.\n  - Portable template file format and template folders, supported by CLI and Desktop App.\n- Available Templates:\n  - NextJs-Tailwind Client.\n  - Flutter Client.\n  - React Native Client.\n  - Anchor Program.\n  - Seahorse Program.\n\n## How to Use Soda\n\nThe best way to use Soda is through the web application: [Soda Web](https://machine.usesoda.dev/).\n\n### Install Soda Desktop\n\nTo use the Desktop App, download the latest release from the [Soda GitHub Releases](https://github.com/Web3-Builders-Alliance/soda/releases) page.\n\n(Optional: You can also download the templates.zip file if you want to use templates other than the default, or clone this repository and use templates from the templates folder.)\n\n**Provisional Steps:** We are still working on adding code signing to our app, so you may encounter a security warning. Until we finish the code signing process, you might need to check how to open the app on your OS.\n\n### Install Soda CLI\n\nYou can install the CLI using either Cargo or NPM.\n\n- Using Cargo (recommended):\n  ```\n  cargo install soda-cli\n  ```\n\n- Using NPM:\n  ```\n  npm install @use_soda/soda-cli -g\n  ```\n\n#### CLI Usage\n\n```shell\nsoda-cli create-project \u003cidl_path\u003e \u003ctemplate_path\u003e\n```\n\nCreates a new project from an IDL file. If no template path is provided, the project will attempt to use a `template.soda` file in the current directory. If no IDL path is provided, the CLI will try to open an `idl.json` file in the current directory.\n\n```shell\nsoda-cli pack-template \u003ctemplate_path\u003e \u003coutput_path\u003e\n```\n\nCreates a template file from a template folder. If no output path is provided, the template will be created in the current directory with the name `template.soda`. If no template path is provided, the CLI will attempt to read from a template folder in the current directory.\n\n```shell\nsoda-cli unpack-template \u003ctemplate_path\u003e \u003coutput_path\u003e\n```\n\nCreates a template folder from a template file. If no output path is provided, the template folder will be created in the current directory with the name `template`. If no template path is provided, the CLI will try to read from a `template.soda` file in the current directory.\n\n**Note: Soda is actively under development, and everything is subject to change. This code is unaudited; use it at your own risk.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWeb3-Builders-Alliance%2Fsoda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWeb3-Builders-Alliance%2Fsoda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWeb3-Builders-Alliance%2Fsoda/lists"}