Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takker99/gmail2discord
Send Gmail messages to your Discord channel using Google Apps Script
https://github.com/takker99/gmail2discord
Last synced: about 10 hours ago
JSON representation
Send Gmail messages to your Discord channel using Google Apps Script
- Host: GitHub
- URL: https://github.com/takker99/gmail2discord
- Owner: takker99
- License: mit
- Created: 2024-04-02T00:19:41.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-20T00:55:02.000Z (3 months ago)
- Last Synced: 2024-08-20T04:43:18.178Z (3 months ago)
- Language: TypeScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gmail2discoed
Send Gmail messages to your Discord channel using Google Apps Script
# Getting Started
1. Create a new Google Apps Script project at https://script.google.com/
2. Run:```bash
deno run --allow-net --allow-read --allow-env --allow-run https://raw.githubusercontent.com/takker99/gmail2discord/main/build.ts > main.gs
```3. Copy the contents of `main.gs` to your Google Apps Script project
4. set `DISCORD_WEBHOOK_URL` in the script properties
5. add cheerio's script
ID([`1ReeQ6WO8kKNxoaA_O0XEQ589cIrRvEBA9qcWpNqdOP17i47u6N9M5Xh0`](https://github.com/tani/cheeriogs?tab=readme-ov-file#adding-the-library-to-your-project))
to your project
6. set an trigger to run `hook` function# Development
If you check typescript files, run:
```bash
deno check --remote main.ts executeWebhook.ts && deno check --remote build.ts deps/*.ts
```