{"id":16157695,"url":"https://github.com/theawiteb/nfbot","last_synced_at":"2025-07-13T13:37:56.339Z","repository":{"id":110116028,"uuid":"489938902","full_name":"TheAwiteb/NFBOT","owner":"TheAwiteb","description":"Telegram bot to send notification from twitter and instagram to telegram chat/group/channel","archived":false,"fork":false,"pushed_at":"2022-05-13T18:13:37.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T07:15:49.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheAwiteb.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":"2022-05-08T12:34:53.000Z","updated_at":"2022-05-13T18:10:06.000Z","dependencies_parsed_at":"2023-03-14T10:15:17.708Z","dependency_job_id":null,"html_url":"https://github.com/TheAwiteb/NFBOT","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/TheAwiteb%2FNFBOT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAwiteb%2FNFBOT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAwiteb%2FNFBOT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAwiteb%2FNFBOT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAwiteb","download_url":"https://codeload.github.com/TheAwiteb/NFBOT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247578627,"owners_count":20961269,"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":[],"created_at":"2024-10-10T01:50:20.867Z","updated_at":"2025-04-07T01:40:56.737Z","avatar_url":"https://github.com/TheAwiteb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eNFBOT (Notification Bot)\u003c/h1\u003e\n  Telegram bot to send notification from twitter and instagram to telegram chat/group/channel\n\u003c/div\u003e\n\n## Requirements\n* [Python+3.8](https://python.org/)\n\n## Environment Variables\n\n|                 Name                |                                             Description                                  | Is Required |                   Default                   |\n|:-----------------------------------:|:----------------------------------------------------------------------------------------:|:-----------:|:-------------------------------------------:|\n|`NOTIFICATION_BOT_TWITTER_TEMPLATE`  |Twitter notification template. see [Twitter Variables](#twitter-template-variables)       |No           |`\"{TWEET_DESCRIPTION}\\n\\n\u003e {TWITTER_LINK}\"`  |\n|`NOTIFICATION_BOT_INSTAGRAM_TEMPLATE`|Instagram notification template. see [Instagram Variables](#instagram-template-variables) |No           |`\"{POST_DESCRIPTION}\\n\\n\u003e {INSTAGRAM_LINK}\"` |\n|`NOTIFICATION_BOT_TWITTER_USERNAME`  |Twitter username                                                                          |No           | -                                           |\n|`NOTIFICATION_BOT_INSTAGRAM_USERNAME`|Instagram username                                                                        |No           | -                                           |\n|`NOTIFICATION_BOT_TELEGRAM_CHAT_ID`  |Telegram chat/group/channel ID [@MyIdBot]                                                 |Yes          | -                                           |\n|`NOTIFICATION_BOT_TOKEN`             |Telegram bot token [@BotFather]                                                           |Yes          | -                                           |\n|`NOTIFICATION_BOT_DELAY`             |The time between each new post check ( in seconds )                                       |No           |120s                                         |\n\n[@MyIdBot]: https://t.me/myidbot\n[@BotFather]: https://t.me/botfather\n\n## Templates\nWith template you can customization notification as you want\n\u003e Note: Put the variable name in the template in curly brackets `{}`\n\n### Twitter Template Variables\n\n|        Name        |                        Description                         |\n|:------------------:|:----------------------------------------------------------:|\n|`CHAT_ID`           | The ID of the chat to which this notification will be sent |\n|`TWITTER_LINK`      | Tweet link on [Twitter]                                    |\n|`NITTER_LINK`       | Tweet link on [Nitter] service                             |\n|`TWEET_DESCRIPTION` | Tweet description                                          |\n\n[Twitter]: https://twitter.com\n[Nitter]: https://nitter.net\n\n### Instagram Template Variables\n\n|        Name       |                        Description                         |\n|:-----------------:|:----------------------------------------------------------:|\n|`CHAT_ID`          | The ID of the chat to which this notification will be sent |\n|`INSTAGRAM_LINK`   | Tweet link on [Instagram]                                  |\n|`BIBLIOGRAM_LINK`  | Tweet link on [Bibliogram] service                         |\n|`POST_DESCRIPTION` | Tweet description                                          |\n\n[Instagram]: https://instagram.com\n[Bibliogram]: https://bibliogram.art\n\n## Bot interface\nRename [`.env.example`](.env.example) to `.env`, and fill the [variables](#environment-variables), and the bot will send the notification in the channel\n\n## Installation\n### Building\nYou must fill the variables in environment file (`.env`)\n\n#### Install Requirements\n```bash\npip3 install -r requirements.txt\n```\n\n### Running\n```bash\npython3 ./src/main.py\n```\n\n## License\nThe [GNU Affero General Public](https://www.gnu.org/licenses/agpl-3.0.en.html) License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheawiteb%2Fnfbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheawiteb%2Fnfbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheawiteb%2Fnfbot/lists"}