{"id":15987780,"url":"https://github.com/mearashadowfax/guardianchrono","last_synced_at":"2025-04-04T22:13:56.429Z","repository":{"id":168369111,"uuid":"627475004","full_name":"mearashadowfax/GuardianChrono","owner":"mearashadowfax","description":"A Telegram bot that simplifies global time tracking, synchronization, and conversion with ease","archived":false,"fork":false,"pushed_at":"2023-11-06T11:28:10.000Z","size":101,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T06:42:15.906Z","etag":null,"topics":["bot","python","python-telegram-bot","telegram","telegram-bot","timezone-conversion"],"latest_commit_sha":null,"homepage":"https://t.me/GuardianChronoBot","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/mearashadowfax.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":"2023-04-13T14:41:07.000Z","updated_at":"2024-11-21T12:27:51.000Z","dependencies_parsed_at":"2023-11-06T12:34:00.424Z","dependency_job_id":"8caf4e19-d0ff-4484-b4a6-7631470b2d7c","html_url":"https://github.com/mearashadowfax/GuardianChrono","commit_stats":null,"previous_names":["mearashadowfax/guardianchrono"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mearashadowfax%2FGuardianChrono","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mearashadowfax%2FGuardianChrono/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mearashadowfax%2FGuardianChrono/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mearashadowfax%2FGuardianChrono/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mearashadowfax","download_url":"https://codeload.github.com/mearashadowfax/GuardianChrono/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256114,"owners_count":20909240,"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","python","python-telegram-bot","telegram","telegram-bot","timezone-conversion"],"created_at":"2024-10-08T03:41:44.458Z","updated_at":"2025-04-04T22:13:56.409Z","avatar_url":"https://github.com/mearashadowfax.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GuardianChrono Telegram Bot\n\n![GuardianChronoPoster](https://github.com/mearashadowfax/GuardianChrono/assets/125820963/8d68ac0b-0553-403b-a72a-47059b79f433)\n\nGuardianChrono is a Telegram bot built with Python's python-telegram-bot library. It is designed to provide a range of useful time-related features, including obtaining the current time and timezone of any city, converting timezones, and calculating the time difference between cities. To use the bot, simply send a message with the name of a city you're interested in, and GuardianChrono will promptly respond with the current local time and timezone.\n\n## Getting started\nTo get started with this project, follow these steps:  \n1. Create a new Telegram Bot and obtain a token following the [instructions](https://core.telegram.org/bots#how-do-i-create-a-bot)\n2. Clone this repository and navigate to the project directory\n3. Create a `.env` file in the project directory and define a variable named `TELEGRAM_API_TOKEN` with your Telegram Bot token. The contents of your `.env` file should look like this:\n```python\nTELEGRAM_API_TOKEN = YOUR_TELEGRAM_API_TOKEN\n```\n4. In your existing `config.py` file within the project directory, make sure to adjust the setup accordingly to load and use this environmental variable\n\u003cdetails\u003e\n\u003csummary\u003eNative Installation\u003c/summary\u003e\n\n5. Install the required dependencies using `pip3 install -r requirements.txt`\n6. Run the `main.py` script using `python3 main.py`\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eDocker Installation\u003c/summary\u003e\n\n5. Build the Docker container using\n\n```console\ndocker build -t guardian-chrono .\n```\n6. Run the Docker container using the command\n\n```console\ndocker run --mount type=bind,source=\"$(pwd)\"/config.py,target=/config.py,readonly guardian-chrono\n```\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eDocker Compose Installation\u003c/summary\u003e\n\n5. Build and run the Docker container using\n\n```console\ndocker-compose up -d\n```\n\u003c/details\u003e\n\nAfterwards, start the bot in Telegram by searching for the bot name and clicking on the `start` button\n\n## Usage\nThis Telegram bot offers the following features:  \n1. Discover Local Time: Type the name of a city to get the current local time.\n2. Get City Timezone: Enter a city name to retrieve its timezone.\n3. Convert Timezone: Convert a specific time to your local timezone.  \n4. Compare Time Difference: Easily compare the time difference between two cities.\n\nTo learn more about the bot's features, visit the bot at [GuardianChrono](https://t.me/GuardianChronoBot).\n## Contributing\nIf you'd like to contribute to this project, feel free to fork the repository and submit a pull request. You can also create an issue to report bugs or suggest new features.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE.md](https://github.com/mearashadowfax/GuardianChrono/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmearashadowfax%2Fguardianchrono","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmearashadowfax%2Fguardianchrono","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmearashadowfax%2Fguardianchrono/lists"}