https://github.com/dainfloop/beat-time-slack
Convert Internet time/.beat time via Slack!
https://github.com/dainfloop/beat-time-slack
Last synced: 3 months ago
JSON representation
Convert Internet time/.beat time via Slack!
- Host: GitHub
- URL: https://github.com/dainfloop/beat-time-slack
- Owner: DaInfLoop
- License: mit
- Created: 2025-05-09T19:31:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-11T11:15:40.000Z (about 1 year ago)
- Last Synced: 2025-07-02T04:41:06.757Z (11 months ago)
- Language: TypeScript
- Size: 94.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# .beat time Slack Bot
A Slack bot that converts [Internet time/.beat time](https://en.wikipedia.org/wiki/Swatch_Internet_Time) into a human-readable time format and vice versa.
## Usage
Once installed to a workspace, All you need to do is run /beat. You can even specify what you want to convert!
- Just want the current time? Run `/beat` or `/beat now`, and it'll get the current time in Internet time!
- Want to figure out when `@728` is? Run `/beat @728` and you can figure out when it is! (It's 5:28pm BST, if you were wondering.)
- You can also convert using natural language! `/beat in 4 hours`, `/beat in half an hour`, just as long as it has some sort of time phrase within it, it should work!

## Installation
1. Clone the repository:
```bash
$ git clone https://github.com/DaInfLoop/beat-time-slack.git
```
2. Setup your `.env` file like this:
```ini
NODE_ENV=
PORT=3000
APP_TOKEN=xoxb-.......
SIGNING_SECRET=
# Only really matter when NODE_ENV is "development"!
NGROK_TOKEN=
NGROK_DOMAIN=
```
3. Install dependencies (I use pnpm, but you can use any package manager of your choice!)
```bash
$ pnpm i
```
4. Run the bot!
```bash
$ pnpm start
```
## Licensing
This repository is licensed under the MIT License. A version of it can be read at [LICENSE](/LICENSE).