https://github.com/nermalcat69/minimal-waitlist
Minimal Waitlist Page with Discord Webhooks
https://github.com/nermalcat69/minimal-waitlist
waitlist waitlist-page
Last synced: about 1 year ago
JSON representation
Minimal Waitlist Page with Discord Webhooks
- Host: GitHub
- URL: https://github.com/nermalcat69/minimal-waitlist
- Owner: nermalcat69
- License: mit
- Created: 2024-12-15T14:57:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-15T22:15:14.000Z (over 1 year ago)
- Last Synced: 2025-05-06T23:18:34.328Z (about 1 year ago)
- Topics: waitlist, waitlist-page
- Language: TypeScript
- Homepage: https://waitlist.zerops.xyz
- Size: 225 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minimal Waitlist

Minimal Waitlist Page with Discord Webhooks
### How to import to zerops
Go to zerops dashboard and import this project:
```yml
project:
name: Minimal Waitlist
services:
- hostname: app
type: nodejs@20
buildFromGit: https://github.com/nermalcat69/minimal-waitlist
enableSubdomainAccess: true
```
You can assign the `DISCORD_WEBHOOK_URL`environment variable in the service dashboard.
Make sure to create and copy your webhook URL from your Discord server:
Go to your server settings.
Navigate to the desired text channel.
Open 'Integrations' > 'Webhooks'.
Create a new webhook and copy the webhook URL.
### How to export emails to json in discord channel
1. Go to your waitlist channel on your browser and open developer tools and paste the code block in console.
```javascript
const emailRegex = /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g;
const allText = document.body.innerText;
const emails = new Set(allText.match(emailRegex));
const emailArray = Array.from(emails);
const emailJSON = JSON.stringify(emailArray, null, 2);
const blob = new Blob([emailJSON], { type: 'application/json' });
const link = document.createElement('a');
link.href = URL.createObjectURL(blob);
link.download = 'waitlist-emails.json';
link.click();
console.log("Waitlist exported!!", emailArray);
```