{"id":48268181,"url":"https://github.com/kungfusheep/glyph","last_synced_at":"2026-04-20T10:01:15.161Z","repository":{"id":334607931,"uuid":"1142033105","full_name":"kungfusheep/glyph","owner":"kungfusheep","description":"declarative TUI library for Go","archived":false,"fork":false,"pushed_at":"2026-03-19T18:40:02.000Z","size":25869,"stargazers_count":19,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-20T09:10:41.766Z","etag":null,"topics":["go-framework","go-library","go-tui","go-ui","golang","golang-framework","golang-library","golang-package"],"latest_commit_sha":null,"homepage":"https://useglyph.sh","language":"Go","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/kungfusheep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2026-01-25T21:00:46.000Z","updated_at":"2026-03-20T08:43:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kungfusheep/glyph","commit_stats":null,"previous_names":["kungfusheep/forme","kungfusheep/glyph"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kungfusheep/glyph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kungfusheep%2Fglyph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kungfusheep%2Fglyph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kungfusheep%2Fglyph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kungfusheep%2Fglyph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kungfusheep","download_url":"https://codeload.github.com/kungfusheep/glyph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kungfusheep%2Fglyph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32042293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["go-framework","go-library","go-tui","go-ui","golang","golang-framework","golang-library","golang-package"],"created_at":"2026-04-04T22:00:29.166Z","updated_at":"2026-04-20T10:01:15.124Z","avatar_url":"https://github.com/kungfusheep.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# glyph\n\nDeclarative terminal UI framework for Go. **[useglyph.sh](https://useglyph.sh)**\n\n![hero](./assets/hero.gif)\n\n```golang\nVBox.Border(BorderDouble).Title(\"SYS\").FitContent()(\n    If(\u0026online).\n        Then(Text(\"● ONLINE\")).\n        Else(Text(\"● OFFLINE\").FG(Red)),\n    HRule(),\n    Leader(\"CPU\", \u0026cpu),\n    Leader(\"MEM\", \u0026mem),\n    Sparkline(\u0026history),\n)\n```\n\n- **Declarative.** UI is a tree of typed values; glyph compiles the layout and renders each frame.\n- **Flex layout.** VBox/HBox with grow, gap, borders, and cascading styles.\n- **Components.** Lists, tables, inputs, fuzzy filtering, sparklines, tabs, tree views, overlays, vim bindings, theming.\n- **Your data, directly.** Pass a pointer; glyph reads the current value every update.\n\n## Demos\n\nRun any of the included demos to see the framework in action:\n\n| Demo | Description |\n|------|-------------|\n| `go run ./cmd/hero` | The hero screenshot above |\n| `go run ./cmd/todo` | Todo app with checklist |\n| `go run ./cmd/glyph-fzf` | Fuzzy finder with FilterList |\n| `go run ./cmd/happypath` | Basic layout patterns |\n| `go run ./cmd/tabledemo` | AutoTable showcase |\n| `go run ./cmd/widgetdemo` | Custom widget examples |\n| `go run ./cmd/jumpdemo` | Vim-style jump labels |\n| `go run ./cmd/routing` | Multi-view navigation |\n| `go run ./cmd/minivim` | Full text editor |\n| Loads more... | |\n\n\n## Requirements\n\nGo 1.25 or later. macOS and Linux only; Windows support is on the roadmap.\n\n## Install\n\n```bash\ngo get github.com/kungfusheep/glyph\n```\n\n## Quick start\n\n```go\npackage main\n\nimport . \"github.com/kungfusheep/glyph\"\n\nfunc main() {\n    app := NewApp()\n    app.SetView(Text(\"Hello, terminal!\")).Run()\n}\n```\n\n## State\n\nThe core is stable and has been used to build real things. The API covers the full range of what a TUI framework needs. Pre-1.0 because the surface is still under evaluation; parts of it can be better still, and 1.0 means committing to it.\n\n## Docs\n\nFull documentation, API reference, and getting started guide at **[useglyph.sh](https://useglyph.sh)**.\n\n## License\n\nApache-2.0. See [LICENSE](./LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkungfusheep%2Fglyph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkungfusheep%2Fglyph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkungfusheep%2Fglyph/lists"}