{"id":45085340,"url":"https://github.com/jigglycrumb/epaper-display","last_synced_at":"2026-02-19T15:37:00.083Z","repository":{"id":47130846,"uuid":"491211275","full_name":"jigglycrumb/epaper-display","owner":"jigglycrumb","description":"A collection of scripts for 7.5\" Waveshare e-Ink displays","archived":false,"fork":false,"pushed_at":"2023-11-01T23:12:29.000Z","size":8796,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-11-02T00:30:27.751Z","etag":null,"topics":["bitcoin","blocktime","dashboard","display","e-ink","e-paper","fear-and-greed","flic","frame","moscow-time","photo","picture","raspberry-pi","raspberry-pi-zero-w","waveshare","waveshare-eink"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jigglycrumb.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}},"created_at":"2022-05-11T17:31:59.000Z","updated_at":"2023-10-23T17:02:14.000Z","dependencies_parsed_at":"2022-08-29T10:10:14.735Z","dependency_job_id":null,"html_url":"https://github.com/jigglycrumb/epaper-display","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/jigglycrumb/epaper-display","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigglycrumb%2Fepaper-display","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigglycrumb%2Fepaper-display/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigglycrumb%2Fepaper-display/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigglycrumb%2Fepaper-display/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jigglycrumb","download_url":"https://codeload.github.com/jigglycrumb/epaper-display/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigglycrumb%2Fepaper-display/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29620144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bitcoin","blocktime","dashboard","display","e-ink","e-paper","fear-and-greed","flic","frame","moscow-time","photo","picture","raspberry-pi","raspberry-pi-zero-w","waveshare","waveshare-eink"],"created_at":"2026-02-19T15:37:00.003Z","updated_at":"2026-02-19T15:37:00.069Z","avatar_url":"https://github.com/jigglycrumb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# epaper display\n\nA collection of scripts for 7.5\" Waveshare e-Ink displays\n\n# NOTE\n\nThis repository moved to Codeberg.\n\nNew repo: https://codeberg.org/jiggly/epaper-display\n\n\n![epaper-front](https://user-images.githubusercontent.com/1476865/168150419-a330e386-8eb9-402c-b98f-0a8688f49a43.jpg)\n\n![epaper-back](https://user-images.githubusercontent.com/1476865/168150472-f4ccc03f-5fee-44b2-b353-94d27c2aff33.jpg)\n\n### Required hardware:\n\n- Raspberry Pi Zero W\n- Waveshare e-Paper HAT\n- 7.5\" Waveshare e-Ink display\n\n### Included scripts:\n\n- `bitcoin.py` - shows some Bitcoin info:\n\n  - current price\n  - fear \u0026 greed index\n  - 7 day graph\n  - block time\n  - moscow time\n  - fees\n\n  ![epaper-bitcoin](https://user-images.githubusercontent.com/1476865/168150548-44273cfc-8e8e-424c-b157-e8669a2663b9.jpg)\n\n- `picture.py` - loops images in `pictures` folder\n\n  ![epaper-picture](https://user-images.githubusercontent.com/1476865/168150525-7a35f9d5-da87-43e3-b657-7c3a04ae0a1a.jpg)\n\n- `fear_and_greed.py`- shows the latest [Fear \u0026 Greed index gauge](https://alternative.me/crypto/fear-and-greed-index/) as image\n\n  ![epaper-fear-and-greed](https://user-images.githubusercontent.com/1476865/168160969-f7b898b2-c13e-45d0-8e68-f850c5ae0a90.jpg)\n\n### Interface\n\nThe display hosts a small website - open http://epaper to access it.  \nIt will show the current script (and image, if the picture script is active)\nand links to refresh the display or change the script:\n\n- http://epaper/refresh  \n  Refreshes the display.  \n  When the picture script is active, it changes to the next picture.\n\n- http://epaper/flip-the-script  \n  Changes the current display script and refreshes the display.  \n  Modify the `scripts` variable in `display/serve.py` to adjust included scripts.  \n  The default scripts are the `bitcoin.py` and `picture.py` script.\n\n### Setup process:\n\n1.  Flash [dietpi](https://dietpi.com) to an SD card\n2.  Connect Raspberry Pi with HAT \u0026 display, insert SD and boot\n3.  SSH in with user `dietpi`\n4.  In the home folder, clone the [Waveshare e-Paper repo](https://github.com/waveshare/e-Paper):  \n    `git clone https://github.com/waveshare/e-Paper.git`\n5.  Clone this repo or download and extract it to:  \n    `/home/dietpi/e-Paper/RaspberryPi_JetsonNano/python`\n6.  Install additional dependencies:\n    - `sudo pip3 install cairosvg`\n    - `sudo pip3 install pillow`\n    - `sudo pip3 install requests`\n7.  Setup crontab:\n\n    - `crontab -e`\n    - Add this line:\n      `*/10 * * * * curl http://localhost/flip-the-script`\n    - Press `Ctrl+X` and then `Return` to save and exit\n\n    This will change the display script every 10 minutes, switching between bitcoin info and picture frame with the default setup.\n\n    To just refresh without changing scripts, use this in crontab:  \n    `*/10 * * * * curl http://localhost/refresh`\n\n8.  Use `dietpi-config` -\u003e Autostart options -\u003e Custom script (background, no autologin) with this script:\n\n    ```bash\n    #!/bin/bash\n\n    # DietPi-Autostart custom script\n    # Location: /var/lib/dietpi/dietpi-autostart/custom.sh\n\n    cd /home/dietpi/e-Paper/RaspberryPi_JetsonNano/python/display\n    ./runscript.sh \u0026\n    python3 serve.py\n\n    exit 0\n    ```\n\n9.  Optional:\n\n    If you have [Flic](https://flic.io) buttons you can use them to refresh the display and change the script.\n\n    A single click will refresh, double click or hold will change the script.\n\n    To set this up, open [FlicHub SDK](https://hubsdk.flic.io/), create a new module, paste this script and start it.\n    Then, connect a button via the app and name it `ePaper`.\n\n    ```javascript\n    // main.js\n    var buttonManager = require(\"buttons\");\n    var http = require(\"http\");\n\n    buttonManager.on(\"buttonSingleOrDoubleClickOrHold\", function (obj) {\n      var url = \"http://epaper\"; // put your hostname here if you used a different one\n      var button = buttonManager.getButton(obj.bdaddr);\n      var clickType = obj.isSingleClick\n        ? \"click\"\n        : obj.isDoubleClick\n        ? \"double_click\"\n        : \"hold\";\n\n      console.log('pressed button \"' + button.name + '\": ' + clickType);\n\n      if (button.name === \"ePaper\") {\n        switch (clickType) {\n          case \"click\":\n            url += \"/refresh\";\n            break;\n\n          case \"double_click\":\n          case \"hold\":\n            url += \"/flip-the-script\";\n            break;\n\n          default:\n            return;\n        }\n\n        http.makeRequest(\n          {\n            url: url,\n            method: \"GET\",\n          },\n          function (err, res) {\n            console.log(\"requested URL: \" + url);\n          }\n        );\n      }\n    });\n\n    console.log(\"Listening for ePaper button...\");\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigglycrumb%2Fepaper-display","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjigglycrumb%2Fepaper-display","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigglycrumb%2Fepaper-display/lists"}