{"id":39403020,"url":"https://github.com/firstbatchxyz/dnet-tui","last_synced_at":"2026-01-18T03:26:40.510Z","repository":{"id":326664730,"uuid":"1071494469","full_name":"firstbatchxyz/dnet-tui","owner":"firstbatchxyz","description":"TUI for dnet.","archived":false,"fork":false,"pushed_at":"2025-12-05T14:15:44.000Z","size":249,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-09T00:48:41.470Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firstbatchxyz.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-07T12:30:31.000Z","updated_at":"2025-12-05T14:15:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/firstbatchxyz/dnet-tui","commit_stats":null,"previous_names":["firstbatchxyz/dnet-tui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/firstbatchxyz/dnet-tui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstbatchxyz%2Fdnet-tui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstbatchxyz%2Fdnet-tui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstbatchxyz%2Fdnet-tui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstbatchxyz%2Fdnet-tui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firstbatchxyz","download_url":"https://codeload.github.com/firstbatchxyz/dnet-tui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstbatchxyz%2Fdnet-tui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28528038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-01-18T03:26:39.927Z","updated_at":"2026-01-18T03:26:40.484Z","avatar_url":"https://github.com/firstbatchxyz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dnet-tui\n\nA terminal user interface (TUI) application built with Rust for [dnet](https://github.com/firstbatchxyz/dnet).\n\n## Installation\n\nInstall using `cargo`:\n\n```sh\ncargo install --git https://github.com/firstbatchxyz/dnet-tui.git\n```\n\n\u003e You can install from source as well:\n\u003e\n\u003e ```sh\n\u003e git clone https://github.com/firstbatchxyz/dnet-tui.git\n\u003e cd dnet-tui\n\u003e cargo build --release\n\u003e ```\n\n## Usage\n\nRun the application:\n\n```sh\ndnet-tui\n```\n\n\u003e To run from source:\n\u003e\n\u003e ```sh\n\u003e cargo run\n\u003e ```\n\n## Testing\n\nRun unit tests with:\n\n```sh\ncargo test\n```\n\nWe also have window-specific tests under [`tests`](./tests/) folder.\n\n\u003e [!TIP]\n\u003e\n\u003e To print logs, you can run the program with\n\u003e\n\u003e ```sh\n\u003e cargo run 2\u003e debug.log\n\u003e ```\n\u003e\n\u003e Or, open another terminal and run the `tty` command, which returns something like `/dev/pts/0`. Then, forward to logs there:\n\u003e\n\u003e ```sh\n\u003e cargo run 2\u003e /dev/pts/0\n\u003e ```\n\n## Contributions\n\nThe code is structured so that all \"windows\" are thought of as their own modules, and they implement the required methods via `impl App` within their own file, with respect to visibility. Each window should also have a `*View` enum (for the sub-windows if required) and a `*State` struct that is an attribute of `AppState`.\n\nWithin each `impl App` we expect the following methods:\n\n- `draw_*` to handle drawing on screen (called via `terminal.draw`)\n- `tick_*` to handle ticks (effect within the running loop)\n- `handle_*` to handle inputs from the user\n\n## License\n\nSee the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstbatchxyz%2Fdnet-tui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirstbatchxyz%2Fdnet-tui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstbatchxyz%2Fdnet-tui/lists"}