{"id":29475357,"url":"https://github.com/stagfoo/pennyblack","last_synced_at":"2025-07-14T16:08:14.948Z","repository":{"id":303758452,"uuid":"1015695758","full_name":"stagfoo/pennyblack","owner":"stagfoo","description":"This is a project to build an e-ink reader for the Raspberry Pi zero.","archived":false,"fork":false,"pushed_at":"2025-07-09T08:26:34.000Z","size":366,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-09T09:36:56.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/stagfoo.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,"zenodo":null}},"created_at":"2025-07-07T22:47:11.000Z","updated_at":"2025-07-09T08:26:39.000Z","dependencies_parsed_at":"2025-07-09T09:39:48.230Z","dependency_job_id":"a5f0b441-abdf-4874-896f-4e23a28809ef","html_url":"https://github.com/stagfoo/pennyblack","commit_stats":null,"previous_names":["stagfoo/pennyblack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stagfoo/pennyblack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagfoo%2Fpennyblack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagfoo%2Fpennyblack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagfoo%2Fpennyblack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagfoo%2Fpennyblack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stagfoo","download_url":"https://codeload.github.com/stagfoo/pennyblack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagfoo%2Fpennyblack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265314767,"owners_count":23745341,"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":"2025-07-14T16:08:13.631Z","updated_at":"2025-07-14T16:08:14.932Z","avatar_url":"https://github.com/stagfoo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![Penny Black](.readme/logo.png)\n\n# Penny Black\n\nThis is a project to build an e-ink reader for the Raspberry Pi zero.\nIt's a hobby project to learn about Go, e-ink displays and Raspberry Pi.\nalso I want to use a dial to navigate the UI.\n\n## Structure\n\n### App \nthis is a gui for the user to interact with. there is no touch so it will be controller based\n- Views\n    - Lists\n    - Book/:id\n    - Settings\n\n### cmd\nthis will be the backend for the app. it will be responsible for the following:\n- generating a list of books from files in the books directory (in toml format)\n- take a screenshot of the gui for the e-ink display 0.5 seconds refresh rate\n    - for development purposes Xvfb will be used for the virtual display\n\n## Run GUI\n\n```\ngo run app/*.go\n```\n\n```mermaid\ngraph TD\n\n    subgraph \"User Interaction\"\n        EinkScreen --\u003e User[User Input]\n        User --\u003e InputHandler[Input Handler]\n        InputHandler --\u003e FyneApp\n    end\n    \n    subgraph \"Virtual Display System\"\n        Xvfb[Xvfb Virtual X Server\u003cbr/\u003e:99 Display]\n        FyneApp --\u003e Xvfb\n    end\n    \n    subgraph \"UI Generation Process\"\n        FyneApp --\u003e Lists[Lists \u0026 Routes UI]\n        Lists --\u003e Screenshot[Screenshot Timer\u003cbr/\u003eEvery 2 seconds]\n        Screenshot --\u003e ImageMagick[ImageMagick\u003cbr/\u003eimport command]\n        ImageMagick --\u003e Xvfb\n    end\n    \n    subgraph \"File System\"\n        ImageMagick --\u003e Folder[screendump/\u003cbr/\u003ecurrent.png]\n        Folder --\u003e FileWatch[File Watcher\u003cbr/\u003efsnotify]\n    end\n    \n    subgraph \"E-ink Display System\"\n        FileWatch --\u003e EinkApp[E-ink Display App]\n        EinkApp --\u003e ImageProcess[Image Processing\u003cbr/\u003e• Format conversion\u003cbr/\u003e• Dithering\u003cbr/\u003e• Resize]\n        ImageProcess --\u003e EinkDriver[E-ink Hardware Driver]\n        EinkDriver --\u003e EinkScreen[E-ink Display]\n    end\n    \n    style FyneApp fill:#e1f5fe\n    style EinkApp fill:#f3e5f5\n    style EinkScreen fill:#e8f5e8\n    style Folder fill:#fff3e0\n```\n\n\n## Fonts\n\nhttps://www.dafont.com/bitmap.php\n\n### Setup Fonts in Fyne\n\nhttps://github.com/lusingander/fyne-font-example","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstagfoo%2Fpennyblack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstagfoo%2Fpennyblack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstagfoo%2Fpennyblack/lists"}