{"id":16922385,"url":"https://github.com/drbh/nnli","last_synced_at":"2025-06-17T22:37:38.781Z","repository":{"id":207960477,"uuid":"720506359","full_name":"drbh/nnli","owner":"drbh","description":"🔭 interactively explore `onnx` networks in your CLI.","archived":false,"fork":false,"pushed_at":"2024-06-07T17:04:18.000Z","size":63,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T04:54:03.717Z","etag":null,"topics":["ai","cli","machine-learning","neural-network","onnx","science"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/nnli","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/drbh.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-18T17:37:56.000Z","updated_at":"2024-07-23T03:30:31.000Z","dependencies_parsed_at":"2024-06-07T18:27:29.084Z","dependency_job_id":"0d60ffa0-6269-4aec-9997-413db5ca21d9","html_url":"https://github.com/drbh/nnli","commit_stats":null,"previous_names":["drbh/nnli"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/drbh/nnli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbh%2Fnnli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbh%2Fnnli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbh%2Fnnli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbh%2Fnnli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drbh","download_url":"https://codeload.github.com/drbh/nnli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbh%2Fnnli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260452451,"owners_count":23011477,"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":["ai","cli","machine-learning","neural-network","onnx","science"],"created_at":"2024-10-13T19:55:18.695Z","updated_at":"2025-06-17T22:37:33.770Z","avatar_url":"https://github.com/drbh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## nnli\n\n[![Latest version](https://img.shields.io/crates/v/nnli.svg)](https://crates.io/crates/nnli)\n\nInteractively explore `safetensors` and `onnx` networks in your CLI.\n\n![nnlirestyle](https://github.com/drbh/nnli/assets/9896130/876b476d-349a-450c-afce-52a145e4c04f)\n\nGet `nnli` 🎉\n\nFrom Cargo\n\n```bash\ncargo install nnli\n```\n\nFrom Github\n\n```bash\ngit clone https://github.com/drbh/nnli.git\ncd nnli\ncargo install --path .\n```\n\nCheck version\n\n```bash\nnnli --version\n```\n\nPrint a local model\n\n```bash\nnnli print --path \u003cPATH TO MODEL FILE OR MODEL ID\u003e\n```\n\n```bash\n# if the model is in your HF cache\nnnli print --path microsoft/Phi-3-mini-4k-instruct\n# when there is more than one revision, specify the revision\nnnli print --path microsoft/Phi-3-mini-4k-instruct@d269012bea6fbe38ce7752c8940fea010eea3383\n# or the full path\nnnli print --path ~/.cache/huggingface/hub/models--microsoft--Phi-3-mini-4k-instruct/snapshots/d269012bea6fbe38ce7752c8940fea010eea3383/\n```\n\nThis app is a work in progress, and there is a lot of room for improvement on both the code and user experience (UX) fronts.\n\nfeatures\n\n- [x] read onnx models via `candle-onnx`\n- [x] display nodes in tui via `ratatui`\n- [x] extract and display node details in pane\n- [x] improve color schema and ui layout\n- [x] improve navigation\n- [x] upload to crates.io\n- [x] better install instructs\n- [ ] build releases\n- [ ] improve details output to show all relevant data\n- [ ] highligh I/O of node on left\n- [ ] add command to show only unique operations\n- [ ] add commands to see other useful stats\n- [x] support `safetensors` files\n- [x] support file or directory input as `--path`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrbh%2Fnnli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrbh%2Fnnli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrbh%2Fnnli/lists"}