https://github.com/hmerritt/ambient-tv
A simple react-native app to cycle background images
https://github.com/hmerritt/ambient-tv
ambient ambient-tv android app clock react-native rss-feed weather
Last synced: 3 months ago
JSON representation
A simple react-native app to cycle background images
- Host: GitHub
- URL: https://github.com/hmerritt/ambient-tv
- Owner: hmerritt
- License: apache-2.0
- Created: 2020-11-22T05:58:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-16T19:53:00.000Z (7 months ago)
- Last Synced: 2024-11-16T20:27:21.614Z (7 months ago)
- Topics: ambient, ambient-tv, android, app, clock, react-native, rss-feed, weather
- Language: JavaScript
- Homepage: https://play.google.com/store/apps/details?id=com.hmerritt.ambient.tv
- Size: 6.31 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ambient TV
 
A simple react-native app to cycle background images (works great on [Chromecast with Google TV](https://store.google.com/gb/product/chromecast_google_tv))
- [Android App (Play store)](https://play.google.com/store/apps/details?id=com.hmerritt.ambient.tv)
- [Chrome extension](https://chrome.google.com/webstore/detail/ambient-tv/gcgkmdgkoickimkhkkbcopdgcaepbade)
- [Firefox extension](https://addons.mozilla.org/en-GB/firefox/addon/ambient-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```
app/env.jsexport default {
ANIMATION_LONG: 3000,
ANIMATION_SHORT: 1000,
APP_SERVER_URL: '',
FETCH_METHOD: '',
IMAGE_TIMER: 120,
OPENWEATHERMAP_KEY: '',
RSS_URL: '',
TITLE: 'Ambient TV',
};
``````
app-server/.envB2_BUCKET=
B2_KEY_ID=
B2_KEY_APPLICATION=
B2_ACCESS_LINK=https://f002.backblazeb2.com
```## License
[Apache-2.0 License](LICENSE)