{"id":25274458,"url":"https://github.com/redinfinitypro/holidayposterbot","last_synced_at":"2025-10-27T08:03:46.687Z","repository":{"id":265833039,"uuid":"805100152","full_name":"RedInfinityPro/HolidayPosterBot","owner":"RedInfinityPro","description":"Holiday Poster is a Python script that finds and posts holiday details on Reddit, using Wikipedia and the holidays library to fetch holiday summaries.","archived":false,"fork":false,"pushed_at":"2024-10-12T22:08:29.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T22:35:26.549Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedInfinityPro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-23T22:11:24.000Z","updated_at":"2024-10-12T22:08:32.000Z","dependencies_parsed_at":"2024-12-02T07:34:27.506Z","dependency_job_id":null,"html_url":"https://github.com/RedInfinityPro/HolidayPosterBot","commit_stats":null,"previous_names":["statute8234/holidayposterbot","redinfinitypro/holidayposterbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedInfinityPro%2FHolidayPosterBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedInfinityPro%2FHolidayPosterBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedInfinityPro%2FHolidayPosterBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedInfinityPro%2FHolidayPosterBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedInfinityPro","download_url":"https://codeload.github.com/RedInfinityPro/HolidayPosterBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457799,"owners_count":20941907,"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":"2025-02-12T14:30:05.561Z","updated_at":"2025-10-27T08:03:41.653Z","avatar_url":"https://github.com/RedInfinityPro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HolidayPosterBot\nHoliday Poster is a Python script that finds and posts holiday details on Reddit, using Wikipedia and the holidays library to fetch holiday summaries.\n\n[![Static Badge](https://img.shields.io/badge/logging-red)](https://pypi.org/project/logging/)\n[![Static Badge](https://img.shields.io/badge/pycountry-gray)](https://pypi.org/project/pycountry/)\n[![Static Badge](https://img.shields.io/badge/datetime-pink)](https://pypi.org/project/datetime/)\n[![Static Badge](https://img.shields.io/badge/os-black)](https://pypi.org/project/os/)\n[![Static Badge](https://img.shields.io/badge/holidays-gray)](https://pypi.org/project/holidays/)\n[![Static Badge](https://img.shields.io/badge/praw-blue)](https://pypi.org/project/praw/)\n[![Static Badge](https://img.shields.io/badge/wikipedia-green)](https://pypi.org/project/wikipedia/)\n\n## Table of Contents\n\n- [About](#about)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## About\n\nHoliday Poster is a Python script that finds and posts holiday details on Reddit, using Wikipedia for holiday summaries and the holidays library for holiday data.\n\n## Features\n\n- **Logging:** Detailed logging using Python's logging library, which includes rotating file handlers.\n- **Holiday Lookup:** Uses the holidays library to find holidays in various countries.\n- **Wikipedia Integration:** Fetches holiday summaries from Wikipedia.\n- **Reddit Posting:** Posts holiday details to a specified subreddit.\n- **Environment Variable Handling:** Securely handles secret tokens using environment variables.\n\n## Installation\n\nPrerequisites\n- Python 3.6 or higher\n- Reddit API credentials\n- Wikipedia API library\n- Holidays library\n- Pycountry library\n\nDependencies\n\nYou can install the necessary dependencies using pip:\n\npip install praw wikipedia holidays pycountry\n\nConfiguration\n\nEnsure you have your Reddit API credentials set up in environment variables or within your script securely. For example:\n\nexport SOME_SECRET='your_reddit_api_secret'\n\n## Usage\n\nRunning the Script\n\nTo run the script, simply execute:\n\npython your_script_name.py\n\n## Contributing\n\nContributions are welcome! To contribute to Monster Maze, follow these steps:\n\n1. Fork the repository.\n2. Create a new branch:\n   ```bash\n   git checkout -b feature/YourFeature\n   ```\n3. Make your changes and commit them:\n   ```bash\n   git commit -m \"Add new feature\"\n   ```\n4. Push to the branch:\n   ```bash\n   git push origin feature/YourFeature\n   ```\n5. Create a new Pull Request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredinfinitypro%2Fholidayposterbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredinfinitypro%2Fholidayposterbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredinfinitypro%2Fholidayposterbot/lists"}