An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# Ambient TV

![](https://img.shields.io/github/v/release/hmerritt/ambient-tv.svg) ![](https://img.shields.io/github/license/hmerritt/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/)

![](./screenshots/screenshot-1.png)

## 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.js

export default {
ANIMATION_LONG: 3000,
ANIMATION_SHORT: 1000,
APP_SERVER_URL: '',
FETCH_METHOD: '',
IMAGE_TIMER: 120,
OPENWEATHERMAP_KEY: '',
RSS_URL: '',
TITLE: 'Ambient TV',
};
```

```
app-server/.env

B2_BUCKET=
B2_KEY_ID=
B2_KEY_APPLICATION=
B2_ACCESS_LINK=https://f002.backblazeb2.com
```

## License

[Apache-2.0 License](LICENSE)