Skip to content

vitalyavolyn/devon-server

Repository files navigation

Description

Devon is my aggregator for tracking stuff. Hugely inspired by KrauseFx/FxLifeSheet

Project setup

$ yarn install

Compile and run the project

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Sample .env:

DB_URI=mongodb://localhost/devon
PORT=3000

# Telegram is the one thing that isn't stored in the configs collection. I'm fine with this.
TELEGRAM_TOKEN=
TELEGRAM_CHAT_ID=

Initialize integrations:

# Myshows
$ yarn ts-node src/main.cli.ts init myshows username password

# Letterboxd
$ yarn ts-node src/main.cli.ts init boxd username ../path-to-export

# Last.fm
$ yarn ts-node src/main.cli.ts init lastfm username api-key

# Retroachievements
$ yarn ts-node src/main.cli.ts init ra userrname-or-ulid api-key

# Wakatime
$ yarn ts-node src/main.cli.ts init wakatime api-key

# NYT Wordle (get cookies string by executing `document.cookie`)
$ yarn ts-node src/main.cli.ts init wordle cookie

# Homeassistant for updating location
# base url, access key and geocoded location sensor name
$ yarn ts-node src/main.cli.ts init hass https://hass.example.com long-lived-access-token sensor.geocoded_location

After location appears (via homeassistant, or, someday, telegram), devon also starts to pull wttr.in for min/max weather. Town name comes from the HA geocoded location sensor.

I also use an Apple Shortcut on my phone once a day to track sleep time and daily steps.

About

personal data hoarder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors