项目作者: hmerritt

项目描述 :
A simple react-native app to cycle background images
高级语言: JavaScript
项目地址: git://github.com/hmerritt/ambient-tv.git
创建时间: 2020-11-22T05:58:25Z
项目社区:https://github.com/hmerritt/ambient-tv

开源协议:Apache License 2.0

下载


Ambient TV

A simple react-native app to cycle background images (works great on Chromecast with Google TV)

Features

  • Clock
  • Live weather by location
  • New background every 2 minutes
  • Avoids using the same background twice for RSS feeds

Development

Env

For now, the env.js file is required to build.

There are two image fetch methods: app-server which is bundled in this repo, or a custom RSS feed

  1. Choose a feed method
  2. Duplicate env.sample.js as env.js
  3. Either deploy and use the app-server or use an RSS feed consisting of images
  1. app/env.js
  2. export default {
  3. ANIMATION_LONG: 3000,
  4. ANIMATION_SHORT: 1000,
  5. APP_SERVER_URL: '',
  6. FETCH_METHOD: '',
  7. IMAGE_TIMER: 120,
  8. OPENWEATHERMAP_KEY: '',
  9. RSS_URL: '',
  10. TITLE: 'Ambient TV',
  11. };
  1. app-server/.env
  2. B2_BUCKET=
  3. B2_KEY_ID=
  4. B2_KEY_APPLICATION=
  5. B2_ACCESS_LINK=https://f002.backblazeb2.com

License

Apache-2.0 License