https://github.com/le0developer/rolling-clouds
Rickrolling using Cloudflare Workers and Pages Functions
https://github.com/le0developer/rolling-clouds
Last synced: 5 months ago
JSON representation
Rickrolling using Cloudflare Workers and Pages Functions
- Host: GitHub
- URL: https://github.com/le0developer/rolling-clouds
- Owner: Le0Developer
- Created: 2022-09-21T16:57:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T22:19:16.000Z (about 3 years ago)
- Last Synced: 2024-11-17T13:39:02.343Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://secret.leodev.xyz
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rolling Clouds
Rickrolling using [Cloudflare Workers](https://workers.cloudflare.com) and [Cloudflare Pages Functions](https://pages.cloudflare.com).
## Features
- Randomly chosen rick roll from pool of urls
- Discord embeds are blocked by default
- Supports "never loading images" in Discord by slapping an image extension at the end
- Works on Workers and Pages
## Deploying to Workers
Just run `wrangler publish` ✨
## Deploying to Pages (Functions)
Create a new pages project with the following options:
- Build command: `mkdir dist`
- Build output directory: `/dist`
Also add the following environment variable:
- `NODE_VERSION`: `16`
Then click deploy ✨