{"id":19441111,"url":"https://github.com/muzk/donna-scheduler","last_synced_at":"2026-06-13T03:06:14.115Z","repository":{"id":42205721,"uuid":"179754444","full_name":"muZk/donna-scheduler","owner":"muZk","description":"🇨🇱 Pay your taxes, automatically.","archived":false,"fork":false,"pushed_at":"2022-12-10T00:46:44.000Z","size":205,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T21:49:28.706Z","etag":null,"topics":["bot","chile","cli","javascript","taxes"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muZk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-05T21:02:26.000Z","updated_at":"2020-05-18T18:41:01.000Z","dependencies_parsed_at":"2023-01-26T01:16:36.791Z","dependency_job_id":null,"html_url":"https://github.com/muZk/donna-scheduler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muZk%2Fdonna-scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muZk%2Fdonna-scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muZk%2Fdonna-scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muZk%2Fdonna-scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muZk","download_url":"https://codeload.github.com/muZk/donna-scheduler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240622610,"owners_count":19830723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","chile","cli","javascript","taxes"],"created_at":"2024-11-10T15:34:24.916Z","updated_at":"2026-06-13T03:06:09.093Z","avatar_url":"https://github.com/muZk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Donna Scheduler\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## About\n\n🇨🇱 A bot 🤖 that pays your taxes, automatically.\n\n⚠️ If you only want a CLI command to pay your taxes, you can use [donna](https://github.com/muzk/donna) directly. `donna-scheduler` was done specifically to automate the CLI script without worrying about it.\n\n## How it works\n\nThis bot will use your SII credentials and will try to pay your taxes.\n\nUnder the hood, this bot uses [puppeteer](https://github.com/GoogleChrome/puppeteer) (via [donna](https://github.com/muzk/donna)) to automate this boring web task.\n\n## Features\n\n- **Easy to use**: just run `pay.js` script with the required environment variables.\n- **Idempotent**: run `pay.js` the times you want, it won't do the web task again if it already worked.\n- **1 click deploy**: click \"Deploy to Heroku\" button or [here](https://heroku.com/deploy) and you're (almost) done.\n\n## Deployment\n\nI recommend you to deploy it to heroku because it's easy and free (free tier). Just click Deploy button and configure the scheduler.\n\n**Step 1:**\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\n**Step 2:**\n\nNow add a job to your scheduler:\n\n- _Schedule_: every day at anytime you want\n- _Run command_: node pay\n\nDone 🎉 click \"Save Job\"\n\n![scheduler](https://user-images.githubusercontent.com/1679496/59076084-1468c200-88a2-11e9-96e4-4db6cb4b3f33.png)\n\n## Environment variables\n\nHere is a description of the environment variables:\n\n- `RUT` and `PASSWORD`: your [SII](https://misiir.sii.cl/cgi_misii/siihome.cgi) credentials (**Required**).\n- `MONGODB_URI`: a MongoDB URI (**Required**).\n- `BOT_TOKEN` and `BOT_CHANNEL`: Telegram bot token and channel so you can receive a notification about a successfull payment. You can setup your own with [@botfather](https://telegram.me/botfather) (**Optional**).\n\n## Requirements\n\n_So you want to pay your 🇨🇱 taxes automatically?_ You have to pay your taxes using [PEC payment](http://www.sii.cl/portal_renta/como_pagar/pagar_declaracion_internet.htm#3).\n\n_Don't know how to pay with PEC?_ Read more [here](https://medium.com/p/9c63604d8e86).\n\n## Questions?\n\nSend me a Twitter DM ([@codewithnico](https://twitter.com/codewithnico)) or open a issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuzk%2Fdonna-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuzk%2Fdonna-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuzk%2Fdonna-scheduler/lists"}