{"id":16711752,"url":"https://github.com/bburdette/tauri-zknotes","last_synced_at":"2025-03-15T04:13:41.360Z","repository":{"id":205129623,"uuid":"713481872","full_name":"bburdette/tauri-zknotes","owner":"bburdette","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-07T15:31:06.000Z","size":646,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T16:19:53.257Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bburdette.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":"2023-11-02T15:55:51.000Z","updated_at":"2025-02-05T16:37:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ba8d30f-3ce9-4d65-acd4-b242adc7c3f0","html_url":"https://github.com/bburdette/tauri-zknotes","commit_stats":null,"previous_names":["bburdette/tauri-zknotes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Ftauri-zknotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Ftauri-zknotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Ftauri-zknotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Ftauri-zknotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bburdette","download_url":"https://codeload.github.com/bburdette/tauri-zknotes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681077,"owners_count":20330155,"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-10-12T20:26:18.844Z","updated_at":"2025-03-15T04:13:41.336Z","avatar_url":"https://github.com/bburdette.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Moving the tauri code here from the main zknotes repo, since I don't want the heavy build dependencies needed for tauri to be part of the zknotes flake.  \n\nThis is pre alpha and is only a development environment for now; the flake doesn't build anything.  \n\nSubmodules employed liberally so `git submodule update --init --recursive` before trying to build.\n\nWe're assuming you have the nix package manager installed.  If on nixos, you'll probably nix-ld enabled.  That's `programs.nix-ld.enable = true` in your configuration.nix.\n\nAlso, for adb to work you'll need:\n\nusers.users.\u003cyou\u003e.extraGroups = [\"adbusers\"];\n\nOn the first build you'll need to init to make the tauri generated code.  Something like this:\n\n```\ngit submodule update --init --recursive\ncd tauri\nnix develop\ncd zknotes/elm\n./buildprod.sh\ncd ../tauri/src-tauri\ncargo tauri android init\n```\n\nMedia files will not work properly in the browser unless you go to the ApplicationManifest.xml in the gen/ folder, and change  \n        `android:usesCleartextTraffic=\"${usesCleartextTraffic}\"\u003e`  \nto this:  \n        `android:usesCleartextTraffic=\"true\"\u003e`  \n\nThen build:\n\n```\ncargo tauri android build --apk -t armv7\n```\n\nThen if you have adb set up on your system, and your phone plugged in, and usb debugging enabled on it.  Copy the path of the output file from the previous step, then:\n\n```\nadb install /home/bburdette/code/tzkn-test/tauri/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned.apk\n```\n\nCurrently it does work sort of, but I have to restart it after starting it up the first time.  \n\n### tauri desktop app:\n\nIts handy to build the tauri desktop app for debugging, as you can right click there and inspect to get the js debugger.  Build the elm first.\n\nYou can build the tauri desktop app with regular `cargo build`, or go straight to running it with `cargo run`..\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbburdette%2Ftauri-zknotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbburdette%2Ftauri-zknotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbburdette%2Ftauri-zknotes/lists"}