https://github.com/lewispolansky/discord-autotask
https://github.com/lewispolansky/discord-autotask
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lewispolansky/discord-autotask
- Owner: LewisPolansky
- Created: 2025-06-04T07:42:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-04T18:01:56.000Z (about 1 year ago)
- Last Synced: 2025-06-04T23:12:36.976Z (about 1 year ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Autotask: Dump plaintext tasks into Linear
An AI Linear Bot for Discord
## Overview
This bot:
1. Takes a list of tasks from a Discord command /createtasks.
2. Sends it to Gemini for parsing & upgrading.
3. Asks you to check its work before uploading.
3. Creates tasks directly in your Linear project automatically.
4. Returns clickable task links to Discord.
5. Includes an undo button.
## To Deploy on Docker or Proxmox:
First, you'll need to set up your environment variables:
1. Clone the repository.
2. Make a copy of the `.env.example` file and rename it to `.env`.
3. Open the `.env` file and fill in your credentials for each variable (e.g., `DISCORD_TOKEN`, `GEMINI_API_KEY`, etc.). **Do not commit the `.env` file to version control.**
Once your `.env` file is configured:
1. **Docker Setup**
Install Docker, then run:
```bash
docker build -t discord-autotask .
docker run -d --env-file .env discord-autotask
```
2. **Proxmox**
- Spin up an LXC or VM with Node.js and Docker.
- After cloning the repo and setting up your `.env` file as described above, you can run the bot with Docker (see Docker Setup) or directly using `node index.js`.
---
## Undo Functionality
Undo works by caching the created issue IDs and deleting them on request. Only the last task batch can be undone.
## Sample Prompts File (`sample_prompts.txt`)
This file (`sample_prompts.txt`) contains an example of a multi-sprint plan for an imaginary software engineering company. It's provided as a reference to illustrate the kind of plaintext natural language input and task structure that can be processed by Autotask.