{"id":22727245,"url":"https://github.com/fuwn/suzuri","last_synced_at":"2025-03-30T00:23:43.705Z","repository":{"id":196162903,"uuid":"694543755","full_name":"Fuwn/suzuri","owner":"Fuwn","description":"📰 Command-line Interface to sumi.news","archived":false,"fork":false,"pushed_at":"2023-10-09T03:38:07.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T20:11:54.398Z","etag":null,"topics":["news","rss","sumi"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fuwn.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}},"created_at":"2023-09-21T07:57:45.000Z","updated_at":"2023-09-21T08:00:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a9a86ba-fdf7-4a27-ad76-b765ab91eef2","html_url":"https://github.com/Fuwn/suzuri","commit_stats":null,"previous_names":["fuwn/suzuri"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuwn%2Fsuzuri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuwn%2Fsuzuri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuwn%2Fsuzuri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuwn%2Fsuzuri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fuwn","download_url":"https://codeload.github.com/Fuwn/suzuri/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246260410,"owners_count":20748845,"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":["news","rss","sumi"],"created_at":"2024-12-10T17:11:20.668Z","updated_at":"2025-03-30T00:23:43.592Z","avatar_url":"https://github.com/Fuwn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📰 `suzuri`\n\nCommand-line Interface to sumi.news\n\nWho is Suzuri? Sumi Sakurasawa's dog.\n\n## Usage\n\nYou can download the script and run it locally, but I'd recommend fetching and\nrunning it from GitHub to ensure that you are always on the latest version:\n\n```shell\nbash \u003c(curl -s \"https://raw.githubusercontent.com/Fuwn/suzuri/main/suzuri\")\n```\n\n\u003e Hint: Alias this in your shell profile: `alias suzuri=\"bash \u003c(curl -s \"https://raw.githubusercontent.com/Fuwn/suzuri/main/suzuri\")\"`\n\n### Token\n\nObtain your sumi.news token via the `s` cookie on sumi.news.\n\n### `--help`\n\n```text\nusage: suzuri token [folder]\n\npositional arguments:\n  token           sumi.news session token\n  folder          sumi.news feed folder\n\nenvironment variables:\n  SUZURI_TOKEN    substitution for token\n  SUZURI_FOLDER   substitution for folder\n  SUZURI_REVERSE  reverse the output feed\n  SUZURI_MINIMAL  output only linked titles\n  SUZURI_RAW      output raw markdown\n  SUZURI_RSS      output raw application/rss+xml\n```\n\nOptionally, omit the token and folder arguments and export the environment\nvariables `SUZURI_TOKEN` and `SUZURI_FOLDER`.\n\n### Dependencies\n\n- [curl](https://curl.se/)\n- [pup](https://github.com/ericchiang/pup)\n- [html2md](https://github.com/suntong/html2md)\n- [glow](https://github.com/charmbracelet/glow)\n\n### Cool Ideas\n\n- Pipe it into [`gum`'s](https://github.com/charmbracelet/gum) `choose` subcommand\n- Display the most recent feed item in your status-bar\n- Echo out the most recent feed item when you start your shell\n- Generate an RSS feed of your feeds to read with local tooling; e.g.,\n  [newsboat](https://newsboat.org/).\n\n### [newsboat](https://newsboat.org/) Integration\n\n```\n# ~/.config/newsboat/urls\n\n\"exec:SUZURI_RSS=1 SUZURI_MINIMAL=1 SUZURI_REVERSE=1 /path/to/suzuri \u003ctoken\u003e\"\n\"exec:SUZURI_RSS=1 SUZURI_MINIMAL=1 SUZURI_REVERSE=1 /path/to/suzuri \u003ctoken\u003e \u003cfolder\u003e\"\n```\n\n## Licence\n\nThis project is licensed with the [GNU General Public License v3.0](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuwn%2Fsuzuri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuwn%2Fsuzuri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuwn%2Fsuzuri/lists"}