https://github.com/wraient/greentea
https://github.com/wraient/greentea
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wraient/greentea
- Owner: Wraient
- Created: 2024-11-27T09:50:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-30T15:51:57.000Z (about 1 year ago)
- Last Synced: 2025-06-03T11:38:02.876Z (8 months ago)
- Language: Go
- Size: 15.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Greentea
This is a script to help me cheat in greentea
- **autogreentea**: A Discord-integrated version.
- **greentea**: A simpler version without Discord integration.
# Installation
### For Linux
```
curl -L -o autogreentea https://github.com/Wraient/greentea/raw/refs/heads/main/main
curl -L -o greentea https://github.com/Wraient/greentea/raw/refs/heads/main/simple
sudo chmod +x autogreentea greentea
sudo mv autogreentea /usr/bin/
sudo mv greentea /usr/bin/
```
or
```
wget -O autogreentea https://github.com/Wraient/greentea/raw/refs/heads/main/main
wget -O greentea https://github.com/Wraient/greentea/raw/refs/heads/main/simple
sudo chmod +x autogreentea greentea
sudo mv autogreentea /usr/bin/
sudo mv greentea /usr/bin/
```
### For Windows
1. **Download the binaries:**
**autogreentea**:
Open PowerShell or Command Prompt and run:
```powershell
curl -L -o autogreentea.exe https://github.com/Wraient/greentea/raw/refs/heads/main/main.exe
```
or use a browser to download it directly.
**greentea**:
```powershell
curl -L -o greentea.exe https://github.com/Wraient/greentea/raw/refs/heads/main/simple.exe
```
2. **Add the downloaded binaries to your PATH:**
- Move the files to a directory included in your system's PATH, such as `C:\Windows\System32`, or manually add the location to the PATH environment variable.
3. **Run the programs:**
- Open Command Prompt or PowerShell and type `autogreentea.exe` or `greentea.exe` to use the tools.
## Usage
### autogreentea (Discord-Integrated)
Set the required environment variables:
- `DISCORD_TOKEN`: Your Discord bot token.
- `GREENTEA_CHANNEL_ID`: Discord channel ID to post updates.
Run it as follows:
**Linux:**
```bash
DISCORD_TOKEN= GREENTEA_CHANNEL_ID= autogreentea
```
**Windows:**
```powershell
set DISCORD_TOKEN=
set GREENTEA_CHANNEL_ID=
autogreentea.exe
```
### greentea (Simple Version)
Run the simple version:
**Linux:**
```bash
greentea
```
**Windows:**
```powershell
greentea.exe
```