{"id":22092284,"url":"https://github.com/twinleaf/twinleaf-web-ui","last_synced_at":"2025-03-23T23:45:47.920Z","repository":{"id":37177097,"uuid":"437591717","full_name":"twinleaf/twinleaf-web-ui","owner":"twinleaf","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-06T23:26:56.000Z","size":2788,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-16T02:06:51.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twinleaf.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}},"created_at":"2021-12-12T16:05:04.000Z","updated_at":"2022-01-01T06:23:44.000Z","dependencies_parsed_at":"2023-02-12T06:45:47.164Z","dependency_job_id":null,"html_url":"https://github.com/twinleaf/twinleaf-web-ui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twinleaf%2Ftwinleaf-web-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twinleaf%2Ftwinleaf-web-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twinleaf%2Ftwinleaf-web-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twinleaf%2Ftwinleaf-web-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twinleaf","download_url":"https://codeload.github.com/twinleaf/twinleaf-web-ui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186928,"owners_count":20574554,"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-01T03:08:57.525Z","updated_at":"2025-03-23T23:45:47.897Z","avatar_url":"https://github.com/twinleaf.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nNOTE: This is experimental, not a product\n\n## Setup Development Environment\n\nThis is a polyglot project, speaking Rust and Javascript, which means there are\nmultiple language build systems and dependency management tools.\n\nThe large dependencies for development are:\n\n- Rust (rustlang) toolchain (let's say v1.50+ stable)\n- Node.js (including npm)\n\nOne set of paths to install the first two are `rustup` (for Rust) and `nvm`\n(for Node.js ecosystem, including `npm`).\n\n\n### Tauri CLI Tool\n\nIt isn't strictly necessary to have the Tauri CLI tool installed, but it was\nused to set the project up and may be handy.\n\nThere is a Rust version, and a Javascript version that wraps the Rust version.\nIf you install the Javascript version, it just downloads a compiled copy of the\nRust binary. But then it ends up in `node_modules/`, and pulls in a ton of\nother things.\n\nYou can also install it locally to your user, via the Rust toolchain, but this\ncan take a fairly long time to compile (10+ minutes):\n\n    # NOTE: this command, from the docs, does not work\n    # cargo install tauri-cli --version 1.0.0-beta.7\n\n    # This should work\n    cargo install tauri-cli --git https://github.com/tauri-apps/tauri\n\nUPDATE: one way forward is to install tauri-cli as a *global* package; that way\nit does not add many dependencies to the local project:\n\n    npm install -g @tauri-apps/cli\n\n## Development Basics\n\nCheck that tools are installed, and fetch node/npm depdendencies:\n\n    make deps\n\nRun these commands in separate terminal windows to do file edit watching and\nauto-reloading/recompile of both the Rust application and Javascript bundle:\n\n    make dev-js\n\n    # this requires the Tauri Rust CLI\n    make dev-tauri\n\nFrom within the app window, in dev/debug mode, if you right click you get\noptions for \"reload\" and \"Inspect Element\"; the later will open browser-style\ndeveloper tools inside the application. Every time you reload, the bundle gets\nrecompiled and the web part of the application is restarted.\n\nRun Rust tests (if any):\n\n    make test\n\nDo a development build of the application:\n\n    make build\n\nDo a release binary build of the application (with size optimizations):\n\n    make build-release\n\nMake installable bundles for the current platform:\n\n    make bundle\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwinleaf%2Ftwinleaf-web-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwinleaf%2Ftwinleaf-web-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwinleaf%2Ftwinleaf-web-ui/lists"}