百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

paper-pi

> 编程语言
开源

paper-pi 这个项目生成一个位图图像,显示相关的日常信息,如新闻、天气和当天的单词。这个图像可以用作桌面壁纸。

100 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

paper-pi 这个项目生成一个位图图像,显示相关的日常信息,如新闻、天气和当天的单词。这个图像可以用作桌面壁纸。

paper-pi

This project generates a bitmap image displaying relevant daily infomation such as news, weather and a word of the day.

This image is intended for display on a 7.5" e-paper Screen.

More details can be found here: E-Ink Display for Daily News, Weather and More

Setup

To run this project, you'll first need to get API keys from the following places:

  • newsapi.org
  • twitter.com
  • darksky.net
  • oxforddictionaries.com

Once you have these, create a .env file and add the keys to it in the following format:

;Darksky
darksky_key=your_key

;Twitter
twitter_consumer_key=your_consumer_key
twitter_consumer_secret=your_consumer_secret
twitter_access_token=your_access_token
twitter_access_token_secret=your_token_secret

;Oxford Dictionaries
dictionary_app_id=your_app_id
dictionary_app_key=your_app_key

;News API
news_key=your_key

;Mongo
mongo_uri=mongodb://localhost/paper-pi

This project uses node-canvas which has some of it's own setup steps that can be found here: https://www.npmjs.com/package/canvas

The Node version used for this project is defined in the .nvmrc file.

Building requires MongoDB to be running on the host.

Once everything is in place, run: npm i

If everything installed correctly, you should now be able to run npm run build and have the bmp file generated in the build directory.

Issues· 14 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言