{"id":15421197,"url":"https://github.com/notwoods/tea-book","last_synced_at":"2026-03-07T18:31:49.595Z","repository":{"id":76026975,"uuid":"598989686","full_name":"NotWoods/tea-book","owner":"NotWoods","description":"e-Book generator for my tea menu","archived":false,"fork":false,"pushed_at":"2024-05-12T18:32:06.000Z","size":3167,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T04:23:01.301Z","etag":null,"topics":["deno","epub","notion","svg"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/NotWoods.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":"2023-02-08T08:11:38.000Z","updated_at":"2024-05-12T18:32:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2681ec7-5a38-4904-92dd-3edb826e948f","html_url":"https://github.com/NotWoods/tea-book","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"3c4b85f73b91fa786e528554894cb664cc91763b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NotWoods/tea-book","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotWoods%2Ftea-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotWoods%2Ftea-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotWoods%2Ftea-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotWoods%2Ftea-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotWoods","download_url":"https://codeload.github.com/NotWoods/tea-book/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotWoods%2Ftea-book/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30226246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T18:12:09.766Z","status":"ssl_error","status_checked_at":"2026-03-07T18:11:58.786Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["deno","epub","notion","svg"],"created_at":"2024-10-01T17:33:55.778Z","updated_at":"2026-03-07T18:31:49.547Z","avatar_url":"https://github.com/NotWoods.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tea-Book: e-ink tea list\n\nAt home, I have a display with small jars of loose tea leaves. I wanted to have\nsome way to quickly reference what was poured out, so I created this script to\npull a\n[list of teas from Notion](https://tigeroakes.notion.site/1043e8edb9094976af12a59f25e41286?v=2f64f0297c1649458f5958ec4e68cd03).\nIt generates files for an e-reader to display, which allows me to have an easy\nto update handheld menu to show guests when they visit.\n\n\u003cimg alt=\"Example of summary image, displaying 12 teas split into 2 groups\" src=\"assets/cover.example.svg\" height=\"400\" width=\"300\" /\u003e\n\n## Generate summary image\n\nThe summary image shows the 12 teas on the display (6 for the top shelf, 6 for\nthe bottom shelf). Deno is used to generate an SVG file named `tea.svg`, which\ncan then be converted to a PNG file named `tea.png` using\n[Inkscape](https://inkscape.org/). You can either open Inkscape's UI and export\nthe SVG manually, or use its CLI to export the SVG with one command.\n\n```powershell\ndeno run --allow-net=api.notion.com --allow-env --allow-read --allow-write .\\src\\generate.ts\ninkscape --export-type=\"png\" tea.svg\n```\n\nThis image is used as an e-book cover. It can also be uploaded separately as a\nscreensaver for the e-reader. For the Nook Simple Touch, I placed file in the\nfollowing folder on the e-reader hard drive (`E:`):\n\n```\nE:\\screensavers\\Tea\\tea.png\n```\n\n## Generate details ebook\n\nDescriptions of each tea are written to an e-book. The e-book includes a table\nof contents page formatted as a table with summarized tea information, followed\nby a chapter for each tea. Deno generates a Markdown file named `tea-list.txt`\nwhich is then converted by [Pandoc](https://pandoc.org/) into an ePub file named\n`tea.epub`. ePubs are just zip files with a bunch of HTML, so you can validate\nthe content by making a copy with a `.zip` suffix instead of a `.epub` suffix.\n\n```powershell\ndeno run --allow-net=api.notion.com --allow-env --allow-read --allow-write .\\src\\generate.ts\npandoc tea-list.txt -o tea.epub --epub-title-page=false\ncp tea.epub tea.zip\n```\n\nValidate result with https://epub-reader.online\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotwoods%2Ftea-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotwoods%2Ftea-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotwoods%2Ftea-book/lists"}