{"id":13732347,"url":"https://github.com/GabrielRF/Send2KindleBot","last_synced_at":"2025-05-08T06:31:59.507Z","repository":{"id":43580002,"uuid":"59253781","full_name":"GabrielRF/Send2KindleBot","owner":"GabrielRF","description":"Send to Kindle Telegram Bot","archived":false,"fork":false,"pushed_at":"2024-07-27T22:47:08.000Z","size":417,"stargazers_count":166,"open_issues_count":15,"forks_count":58,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-11T17:46:49.492Z","etag":null,"topics":["hacktoberfest","postfix","python3","sqlite3","sqllite","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"http://t.me/Send2KindleBot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GabrielRF.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-20T00:58:55.000Z","updated_at":"2024-10-05T02:35:50.000Z","dependencies_parsed_at":"2024-04-11T22:48:53.408Z","dependency_job_id":"d672f1ac-878c-4ac4-9585-f6976107afc2","html_url":"https://github.com/GabrielRF/Send2KindleBot","commit_stats":{"total_commits":265,"total_committers":38,"mean_commits":6.973684210526316,"dds":0.339622641509434,"last_synced_commit":"fff096daf96f98dca5f4fe0e26b6f972c9758c80"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FSend2KindleBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FSend2KindleBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FSend2KindleBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FSend2KindleBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielRF","download_url":"https://codeload.github.com/GabrielRF/Send2KindleBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224708172,"owners_count":17356495,"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":["hacktoberfest","postfix","python3","sqlite3","sqllite","telegram","telegram-bot"],"created_at":"2024-08-03T02:01:53.808Z","updated_at":"2024-11-14T23:32:07.512Z","avatar_url":"https://github.com/GabrielRF.png","language":"Python","funding_links":["https://www.paypal.com/donate/?hosted_button_id=GFPPS8QRW3QE2"],"categories":["Python"],"sub_categories":[],"readme":"\u003cimg align=\"right\" alt=\"Send2KindleBot Logo\" width=\"30%\" height=\"auto\" src=\"https://github.com/GabrielRF/Send2KindleBot/blob/master/icon.png?raw=true\"\u003e\n\n# [Send2KindleBot](http://telegram.me/Send2Kindle)\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?hosted_button_id=GFPPS8QRW3QE2)\n[![Deploy](https://github.com/GabrielRF/Send2KindleBot/actions/workflows/deploy.yml/badge.svg)](https://github.com/GabrielRF/Send2KindleBot/actions/workflows/deploy.yml)\n\n## About\n\nThis is a [Telegram](http://telegram.org) Bot that sends documents to Kindle devices. It runs on Python 3 and uses Postfix and SQLite3.\n\n[Try it!](https://telegram.me/Send2KindleBot)\n\n## Usage\n\nIn order to work, users must register on the bot two e-mails, Amazon's Account e-mail and Kindle's e-mail.\n\nIf you need help with your Kindle's e-mail, please, refer to: https://www.amazon.com/gp/sendtokindle/email\n\n## Setup\n\nFirst of all, install Postfix on your computer/server. Make sure port 25 is opened so the bot can send e-mails.\n\n```\n# apt-get install postfix\n```\n\nAfter initial setup, copy both files from the folder `postfix` to `/etc/postfix`.\n\n```\n# mv postfix/* /etc/postfix\n```\n\n##### This configuration will allow e-mails to be sent only from `localhost`. This is important to avoid spamming from your server.\n\nMake sure to restart postfix and check if its running\n\n```\n# service postfix restart\n# service postfix status\n```\n\nClone/Download this repository. Install requirements.\n\n```\n# pip3 install -r requirements.txt\n```\n\nUse Pipenv. Install requirements.\n\n```\n# pip3 install pipenv\n# pipenv install -r requirements.txt\n```\n\nMake sure `kindle.conf` is properly configured.\n\n```\ncp kindle.conf_sample kindle.conf\n```\n\n`TOKEN` = Bot's token given by the BotFather.\n\n`logfile` = Log file with 24 hour rotation.\n\n`data_base` = Database location.\n\n`table` = Table's name.\n\n# Run it\n\n```\npython3 pdftokindlebot.py\n```\n\n# Contribute\n\nTo contribute install the development dependencies.\n\n```\n# pip3 install -r requirements.txt\n```\n\nOr use Pipenv to install.\n\n```\n# pip3 install pipenv\n# pipenv install -r requirements.txt\n```\n\nBefore sending your pull request, make sure you ran the linter.\n\n```\n# make lint\n```\n\nAnd the auto format.\n\n```\n# make format\n```\n\n# Thanks\n\nBot icon made by Ariyasu. Thank you!\n\nContact: Discord `ariyasu#9690`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGabrielRF%2FSend2KindleBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGabrielRF%2FSend2KindleBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGabrielRF%2FSend2KindleBot/lists"}