Public
Like
octolens
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v35View latest version
Val Town uses Octolens to monitor mentions of Val Town across social platforms (Reddit, Twitter, Bluesky, Hacker News, etc).
This val accepts webhooks from Octolens and then reformats them for Discord.
- Remix this val
- Copy this val's HTTP endpoint
- Randomly generate password and store it as
PASSWORDin this val's env variables - Get a Discord Webhook URL and save in this val's env variables
- Test it out by running
shell.ts - Create an Octolens webhook with the HTTP endpoint and the randomly-generated password as the URL path (for lightweight webhook security)
- Test out the flow end-to-end via Octolen's test endpoint button