{"id":14037058,"url":"https://github.com/SumitAgr/PictureofTheDay-Bot","last_synced_at":"2025-07-27T04:33:52.156Z","repository":{"id":219691343,"uuid":"180935839","full_name":"SumitAgr/PictureofTheDay-Bot","owner":"SumitAgr","description":"Telegram Bot that retrieves NASA's Image of the Day with a single command.","archived":false,"fork":false,"pushed_at":"2020-05-16T08:52:42.000Z","size":93,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-12T03:06:30.067Z","etag":null,"topics":["nasa","nasa-api","nasa-apod","telegram","telegram-api","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/SumitAgr.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":"2019-04-12T05:22:25.000Z","updated_at":"2024-08-12T03:06:30.777Z","dependencies_parsed_at":null,"dependency_job_id":"12823dd0-8a3c-4e14-ab84-11e723ddb444","html_url":"https://github.com/SumitAgr/PictureofTheDay-Bot","commit_stats":null,"previous_names":["sumitagr/pictureoftheday-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SumitAgr%2FPictureofTheDay-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SumitAgr%2FPictureofTheDay-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SumitAgr%2FPictureofTheDay-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SumitAgr%2FPictureofTheDay-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SumitAgr","download_url":"https://codeload.github.com/SumitAgr/PictureofTheDay-Bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227762413,"owners_count":17816023,"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":["nasa","nasa-api","nasa-apod","telegram","telegram-api","telegram-bot","telegram-bot-api"],"created_at":"2024-08-12T03:02:26.942Z","updated_at":"2024-12-02T16:31:38.671Z","avatar_url":"https://github.com/SumitAgr.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"\" rel=\"noopener\"\u003e\n \u003cimg width=200px height=200px src=\"https://i.imgur.com/V4WEJJN.jpg\" alt=\"Bot logo\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003ePicture of The Day Bot for Telegram\u003c/h3\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![Language](https://img.shields.io/badge/Python-3.7-blue.svg)\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n[![CodeFactor](https://www.codefactor.io/repository/github/sumitagr/pictureoftheday-bot/badge)](https://www.codefactor.io/repository/github/sumitagr/pictureoftheday-bot)\n\n\u003c/div\u003e\n\n---\n\n\u003cp align=\"center\"\u003e 🤖 A Telegram bot that retrieve's NASA renowned picture of the day service (APOD) with a single command!\n    \u003cbr\u003e \n  \u003cb\u003eUse it live here: https://t.me/PictureofTheDayBot\u003c/b\u003e\n\u003c/p\u003e\n\n## 📝 Table of Contents\n+ [About](#about)\n+ [Demo / Working](#demo)\n+ [How it works](#working)\n+ [Usage](#usage)\n+ [Built Using](#built_using)\n+ [Authors](#authors)\n+ [License](#license)\n+ [Acknowledgments](#acknowledgement)\n\n## 🧐 About \u003ca name = \"about\"\u003e\u003c/a\u003e\nA simple and convenient telegram bot that retrieves pictures from NASA's APOD Service after the user enters a simple command: '/picture'. It shows the title of the image, the photo and a simple description of the picture.\n\n## 🎥 Demo / Working \u003ca name = \"demo\"\u003e\u003c/a\u003e\n![Working](https://i.imgur.com/nVF8viS.gif)\n\n## 💭 How it works \u003ca name = \"working\"\u003e\u003c/a\u003e\n\nThe bot uses Telegram's API to communicate with the user to send messages to them. After the user successfully authenticates i.e starts the bot by clicking on the start button on the bot, it is ready to send the current picture of the day. \n\nThe user is provided with two GUI options, an on-screen button to easily get the image or an in-line suggestion as the user writes '/picture' in the message box. \n\nOnce the bot receives this request, it uses NASA APOD's API to retrieve the data in JSON format. The information is then converted into a message that is sent to the user within 5 seconds using Telegram's API.\n\nThe bot utilizes the NLTK python library to convert the giant wall of NASA text into a minimal summary.\n\nThe entire bot is written in Python 3.7\n\n## 🎈 Usage \u003ca name = \"usage\"\u003e\u003c/a\u003e\n\nTo use the bot, type:\n```\n/picture\n```\nYou can either type the entire command - '/picture' or use the GUI interface instead.\nThe bot will then quickly reply the current picture of the day. \n\nPlease note: The bot could be slow sometimes as it depends on NASA's API requests.\n\n## ⛏️ Built Using \u003ca name = \"built_using\"\u003e\u003c/a\u003e\n+ [Python-Telegram-Bot](https://python-telegram-bot.org/) - Unofficial Python wrapper for Telegram's API\n+ [Amazon AWS EC2](https://aws.amazon.com/ec2/) - Amazon AWS's cloud computing service\n+ NLTK - The Natural Language Toolkit Python library for text summary and language processing\n+ Requests - Requests library for HTTP Requests\n+ Logging - Logging library for debugging\n+ Time / DateTime - Time libraries\n\n## ✍️ Authors \u003ca name = \"authors\"\u003e\u003c/a\u003e\n+ Sumit Agrawal\n\n## 📗 License \u003ca name = \"license\"\u003e\u003c/a\u003e\nThis project is licensed under the MIT License - see the LICENSE file for more details.\n\n## 🎉 Acknowledgements \u003ca name = \"acknowledgement\"\u003e\u003c/a\u003e\n+ Thank you to Python-telegram-bot for providing the python wrapper!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSumitAgr%2FPictureofTheDay-Bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSumitAgr%2FPictureofTheDay-Bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSumitAgr%2FPictureofTheDay-Bot/lists"}