{"id":21965763,"url":"https://github.com/arkaeriit/devzat_time_teller","last_synced_at":"2025-03-22T21:33:39.783Z","repository":{"id":39537436,"uuid":"506999362","full_name":"Arkaeriit/Devzat_Time_Teller","owner":"Arkaeriit","description":"A plugin for Devzat that can tell the time at various timezones.","archived":false,"fork":false,"pushed_at":"2024-01-08T16:42:29.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T01:27:09.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arkaeriit.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-06-24T12:18:32.000Z","updated_at":"2022-06-24T19:02:31.000Z","dependencies_parsed_at":"2024-01-08T18:00:55.064Z","dependency_job_id":null,"html_url":"https://github.com/Arkaeriit/Devzat_Time_Teller","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/Arkaeriit%2FDevzat_Time_Teller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkaeriit%2FDevzat_Time_Teller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkaeriit%2FDevzat_Time_Teller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkaeriit%2FDevzat_Time_Teller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arkaeriit","download_url":"https://codeload.github.com/Arkaeriit/Devzat_Time_Teller/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245023387,"owners_count":20548721,"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-11-29T12:51:42.117Z","updated_at":"2025-03-22T21:33:39.723Z","avatar_url":"https://github.com/Arkaeriit.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Devzat Time Teller\n\nOn [Devzat](https://github.com/quackduck/devzat), people come from all around the time. It is sometime hard to know what time it is for other peoples. This plugin let you see the current time at any timezone with a command.\n\n## In-chat usage\n\nFor the people in the chat-room, this plugin exposes the command, `time_at`. This command takes as argument an IANA timezone.\n\nHere is an example of in-chat use:\n\n```\nArkaeriit: time_at CET\nTime-teller: At the timezone CET, it is 14:29.\nArkaeriit: time_at Europe/Paris\nTime-teller: At the timezone Europe/Paris, it is 14:29.\nArkaeriit: time_at NotATimeZone\nTime-teller: Error, NotATimeZone is not a valid time zone.\n```\n\nAs a bonus, this plugin also exposes the commands `rpn` which perform an RPN calculation and `calc` which performs infix calculation using the library Math-Parse.\n\n```\nArkaeriit: rpn 2 2 +\n2 + 2 = 4\n```\n\n## Admin usage\n\nThe plugin is made for a single-file executable. It is configured with the following environment variable.\n\n|Variable name |Description                                                   |Default                                                                     |\n|--------------|--------------------------------------------------------------|----------------------------------------------------------------------------|\n|`PLUGIN_HOST` |URL of the chat-room interface                                |`https://devzat.hackclub.com:5556`                                          |\n|`PLUGIN_TOKEN`|Authentication token                                          |Does not defaults to anything. The program panics if the token is not given.|\n|`LOGIN_ROOM`  |Name of the room where the bot will tell when it is connected.|`#bots`                                                                     |\n|`DEV_NICK`    |Nickname of the user the bot will tell when it is connected   |`Arkaeriit`                                                                 |\n|`BOT_NAME`    |Name used by the bot to introduce itself.                     |`Time-teller`                                                               |\n\n## Acknowledgment\n\nSpecial thanks to [Tommy](https://github.com/TommyPujol06) for the [library](https://github.com/TommyPujol06/devzat-rs) he made to make Devzat plugins in Rust.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkaeriit%2Fdevzat_time_teller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farkaeriit%2Fdevzat_time_teller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkaeriit%2Fdevzat_time_teller/lists"}