{"id":17490296,"url":"https://github.com/wojberni/file-browser","last_synced_at":"2025-07-02T07:07:14.967Z","repository":{"id":256804622,"uuid":"827902773","full_name":"Wojberni/file-browser","owner":"Wojberni","description":"Terminal UI browser for files written in Zig. ","archived":false,"fork":false,"pushed_at":"2025-04-02T19:48:22.000Z","size":896,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T07:07:13.497Z","etag":null,"topics":["file-browser","file-browsing","file-tree","learning","tree-structure","tui-app","zig","zig-lang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/Wojberni.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":"2024-07-12T16:19:37.000Z","updated_at":"2025-04-02T19:48:25.000Z","dependencies_parsed_at":"2024-12-08T05:40:24.254Z","dependency_job_id":"c5e87862-efd6-4932-a552-34be71b5702e","html_url":"https://github.com/Wojberni/file-browser","commit_stats":{"total_commits":51,"total_committers":1,"mean_commits":51.0,"dds":0.0,"last_synced_commit":"e4fb815ab01d011ddd85a0e5ef2bbc4c44131329"},"previous_names":["wojberni/file-browser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Wojberni/file-browser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wojberni%2Ffile-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wojberni%2Ffile-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wojberni%2Ffile-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wojberni%2Ffile-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wojberni","download_url":"https://codeload.github.com/Wojberni/file-browser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wojberni%2Ffile-browser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263091027,"owners_count":23412344,"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":["file-browser","file-browsing","file-tree","learning","tree-structure","tui-app","zig","zig-lang"],"created_at":"2024-10-19T06:07:12.186Z","updated_at":"2025-07-02T07:07:14.957Z","avatar_url":"https://github.com/Wojberni.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File-browser\n\nFile-browser is a project for educational purposes written in Zig.\nI was trying to remind myself, how trees work and file structure was a natural choice.\n\n\u003e Code was tested on Linux, it is NOT Windows compatible.\n\n\u003e TUI was developed using Kitty, due to [libvaxis](https://github.com/rockorager/libvaxis) compatibility. Some functionalities might not work as they should on other terminals.\n\n## Basic commands\n\nBuild gui, demo or tests for file-browser using following commands.\n\n```\nzig build gui\n```\n\n![Gui](gui.gif)\n\n```\nzig build demo\n```\n![Demo](demo.gif)\n\n```\nzig build test\n```\n\n## Project structure\n\n* build.zig, build.zig.zon - zig build system config\n* src/ - file-browser module, all core file tree functionalities\n* gui/ - gui using file-browser module and [libvaxis](https://github.com/rockorager/libvaxis)\n* tests/ - tests for file-browser module\n* examples/ - demo of all functions for file-browser module\n\n```\nfile-browser\n│   README.md\n│   build.zig\n│   build.zig.zon\n└───src\n│   │   main.zig\n│   │   ...\n└───gui\n│   │   main.zig\n│   │   ...\n└───tests\n│   │   tests.zig\n│   │   ...\n└───examples\n│   │   demo.zig\n│   │   ...\n```\n\n## Basic flow and functionality\n\n* tree init/deinit - file tree struct, root node from selected directory\n* tree loading - loading files and directories as nodes to initialized tree structure\n* tree traversal - traverse loaded tree, basically `tree` command functionality\n* find node - find node and return path to it based on given name\n* insert node - insert node to given path (creates files on disk as well!)\n* delete node - deletes node of given path (deletes files on disk as well!)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwojberni%2Ffile-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwojberni%2Ffile-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwojberni%2Ffile-browser/lists"}