{"id":15718278,"url":"https://github.com/sajattack/discourse-tui","last_synced_at":"2025-07-19T18:04:55.108Z","repository":{"id":147183441,"uuid":"115464633","full_name":"sajattack/discourse-tui","owner":"sajattack","description":"Terminal UI for Discourse forums","archived":false,"fork":false,"pushed_at":"2019-03-25T05:32:22.000Z","size":35,"stargazers_count":11,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-13T02:18:46.444Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sajattack.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}},"created_at":"2017-12-27T00:22:27.000Z","updated_at":"2025-03-24T15:29:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6bc58a0-79b4-4ec0-b49b-5c21c7a734f0","html_url":"https://github.com/sajattack/discourse-tui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fdiscourse-tui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fdiscourse-tui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fdiscourse-tui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajattack%2Fdiscourse-tui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sajattack","download_url":"https://codeload.github.com/sajattack/discourse-tui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253856747,"owners_count":21974591,"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-03T21:52:38.655Z","updated_at":"2025-05-13T02:19:07.925Z","avatar_url":"https://github.com/sajattack.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discourse-tui\nTerminal UI for Discourse forums\n\n![screenshot](https://i.imgur.com/Q4toKDd.png)\n\n## Dependencies\n* Cargo\n* ncurses\n\n## Setup\n```sh\nmkdir -p ~/.config/discourse-tui\ncp theme.toml ~/.config/discourse-tui\ncargo build --release\nsudo cp target/release/discourse-tui /usr/bin\n```\n\n## Run (unauthenticated)\n```sh\ndiscourse-tui \u003curl\u003e\n```\n\n## Setup Api Key\n\n### First you need to register discourse-tui as the handler for discourse:// URIs\n```sh\ncp discourse-tui.desktop ~/.local/share/applications\n```\nAdd this line to ~/.config/mimeapps.list, under \\[Added Associations\\] and \\[Default Applications\\]\n```\nx-scheme-handler/discourse=discourse-tui.desktop\n```\nYou may need to logout for this to have an effect.\n\n### Now, back to discourse-tui\n```sh\ndiscourse-tui --new-key \u003curl\u003e\n```\nClick the link\n\nClick \"Authorize\"\nYou should see a terminal flash open briefly, this is discourse-tui opening and completing the authentication.\n\nNow just run\n```sh \ndiscourse-tui\n```\nThe TUI will open with the URL you specified in the --new-key phase and you will be logged in.\n\n## Troubleshooting\n* If discourse-tui doesn't flash open when you click \"Authorize\", you will need to manually copy the `discourse://auth_redirect?payload=\u003cbase64\u003e` URI as an argument to discourse-tui.\nTry opening the network tab of your browser's developer tools, refreshing the authorize page, clicking authorize, and look for this URI.\n* Blank screen in tmux - add this to your ~/.tmux.conf `set -g default-terminal \"screen-256color\"`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajattack%2Fdiscourse-tui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsajattack%2Fdiscourse-tui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajattack%2Fdiscourse-tui/lists"}