ynabsync
Version, currently master branch1 version
- master branchlatestAug 12, 2018
github.com/theodorton/ynabsync
No description declared in shard.yml.
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
ynabsync:
github: theodorton/ynabsync
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.25.1- License
- MIT
- Author
- Theodor Tonum
- Targets
schedulerfrom src/ynabsync/scheduler.crsidekiq-uifrom src/sidekiq-ui.crsidekiq-workerfrom src/sidekiq-worker.cr
Dependencies
Runtime Dependencies
- kemal*github: kemalcr/kemal, branch: master
- sidekiq*github: mperham/sidekiq.cr, branch: master
- kemal-basic-auth*github: kemalcr/kemal-basic-auth, branch: master
README
ynabsync
Tool to sync SBanken accounts with YNAB.
The application consists of 4 parts:
- Scheduler - enqueues sidekiq jobs at a specified interval
- Worker - consumes sidekiq jobs and performs the heavy lifting
- Web UI - to debug the jobs
- Redis
Installation
You need direnv, docker and docker-compose to run the application.
Copy .envrc.example to .envrc and setup the environment variables:
| Environment variable | Description |
|---|---|
SBANKEN_APP_ID | The client ID from SBanken Developer Portal |
SBANKEN_SECRET | The secret key/password from SBanken Developer Portal (please note that this key must be rotated every 3 months) |
CUSTOMER_ID | Your personal number (personnummer) for identification with the SBanken API |
ACCOUNT_ID | The account ID from SBanken API for the account you'd like to monitor. |
YNAB_ACCESS_TOKEN | Personal YNAB access token (generated here) |
YNAB_BUDGET_ID | The budget ID from YNAB |
YNAB_ACCOUNT_ID | The account ID from YNAB |
KEMAL_PASSWORD | Password to access the web ui |
Usage
- Run
docker-compose up - Open http://localhost:3000/ to see the queue status
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/theodorton/ynabsync/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- theodorton Theodor Tonum - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Aug 12, 2018
- Crystal
0.25.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/theodorton/ynabsync
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 19, 2026
- Synced
- Aug 19, 2026
- Versions
- 1