Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hidakatsuya/line-touban-bot

A LINE bot for managing and notifying about a duty (Touban in Japanese) in a group.
https://github.com/hidakatsuya/line-touban-bot

biomejs cloudflare-workers line

Last synced: 2 months ago
JSON representation

A LINE bot for managing and notifying about a duty (Touban in Japanese) in a group.

Awesome Lists containing this project

README

        

# LINE Touban Bot

[![Test](https://github.com/hidakatsuya/line-touban-bot/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/hidakatsuya/line-touban-bot/actions/workflows/test.yml)

This is a LINE bot for managing and notifying about a duty (Touban in Japanese) in a group.

## Features

- Notify the group about today's and tomorrow's duties
- Respond to inquiries about duties

## Getting Started

### Prerequisites

- LINE Bot
- Cloudflare Workers

### Installing

Install NPM packages
```sh
npm install
```

Create a wrangler.toml to copy wrangler.sample.toml and set [vars] and [triggers]
```sh
cp wrangler.sample.toml wrangler.toml
```

Add your LINE bot's access token and secret, and your LINE group's ID
```sh
npx wrangler secret put LINE_CHANNEL_SECRET
npx wrangler secret put LINE_CHANNEL_ACCESS_TOKEN
npx wrangler secret put FAMILY_GROUP_ID
```

Deploy to your Cloudflare Worker
```sh
npx wrangler deploy
```

## License

This project is licensed under the [MIT License](https://opensource.org/license/mit/) - see the LICENSE file for details.