Public
Script
  • sirdrope avatar
    DownTime
    @sirdrope
    Forked from andreterron/isMyWebsiteDown
    Cron
  • stevekrouse avatar
    aqi
    @stevekrouse
    AQI Alerts Get email alerts when AQI is unhealthy near you. Set up Click Fork Change location (Line 4) to describe your location. It accepts fairly flexible English descriptions which it turns into locations via nominatim's geocoder API . Click Run Background This val uses nominatim's geocoder to get your lat, lon, and air quality data from OpenAQ. It uses EPA's NowCast AQI Index calculation and severity levels. Learn more: https://www.val.town/v/stevekrouse.easyAQI
    Cron
  • neverstew avatar
    sendPDF
    @neverstew
    Forked from nbbaier/sendPDF
    Script
  • postpostscript avatar
    authId
    @postpostscript
    An interactive, runnable TypeScript val by postpostscript
    HTTP (deprecated)
  • iamseeley avatar
    sendSMS
    @iamseeley
    đź’¬ Email-to-SMS Send text messages on Val Town! Usage import { sendSMS } from 'https://esm.town/v/iamseeley/sendSMS'; sendSMS(phoneNumber: string, message: string, carrier: string): Promise<void> Parameters phoneNumber: The recipient's phone number (string of digits, no spaces or dashes) message: The text message you want to send carrier: The recipient's cell phone carrier. Supported carriers: 'att' (AT&T), 'tmobile' (T-Mobile), 'verizon' (Verizon), 'sprint' (Sprint) List of Email-To-SMS Addresses Comment on this val if you'd like me to add a carrier from the above list! Example import { sendSMS } from 'https://esm.town/v/iamseeley/sendSMS'; sendSMS('1234567890', 'Hello from Val Town!', 'verizon');
    Script
  • blur avatar
    oracle
    @blur
    Forked from stevekrouse/forwarder
    Email
  • mohammed avatar
    untitled_greenCrayfish
    @mohammed
    // Fetches a random joke.
    Cron
  • aditya292248 avatar
    untitled_purpleWhippet
    @aditya292248
    // Sends an email with the joke.
    Cron
  • pomdtr avatar
    email_auth
    @pomdtr
    Email Auth for Val Town ⚠️ Require a pro account (needed to send email to users) Usage Create an http server, and wrap it in the emailAuth middleware. import { emailAuth } from "https://esm.town/v/pomdtr/email_auth" import { verifyUserEmail } from "https://esm.town/v/pomdtr/verifyUserEmail" export default emailAuth((req) => { return new Response(`your mail is ${req.headers.get("X-User-Email")}`); }, { verifyEmail: verifyUserEmail }); 💡 If you do not want to put your email in clear text, just move it to an env var (ex: Deno.env.get("email") ) If you want to allow anyone to access your val, just use: import { emailAuth } from "https://esm.town/v/pomdtr/email_auth" export default emailAuth((req) => { return new Response(`your mail is ${req.headers.get("X-User-Email")}`); }, { verifyEmail: (_email) => true }); Each time someone tries to access your val but is not allowed, you will get an email with: the email of the user trying to log in the name of the val the he want to access You can then just add the user to your whitelist to allow him in (and the user will not need to confirm his email again) ! TODO [ ] Add expiration for verification codes and session tokens [ ] use links instead of code for verification [ ] improve errors pages
    Script
  • seflless avatar
    twitterAlert
    @seflless
    Forked from geoffreylitt/twitterDailyDigest
    Cron
  • bowlerl avatar
    untitled_amethystFalcon
    @bowlerl
    // Fetches a random joke.
    Cron
  • parkerdavis avatar
    docFeedbackForm
    @parkerdavis
    Forked from stevekrouse/docFeedbackForm
    HTTP (deprecated)
  • buttondown avatar
    twitterAlert
    @buttondown
    Forked from stevekrouse/twitterAlert
    Cron
  • fariasn516 avatar
    SAMPLE_JOKE
    @fariasn516
    // Fetches a random joke.
    Cron
  • stevekrouse avatar
    fetchCongressTradeReports
    @stevekrouse
    An interactive, runnable TypeScript val by stevekrouse
    Script
  • chiaragiardina avatar
    emailRandomJoke
    @chiaragiardina
    // Fetches a random joke.
    Cron
July 31, 2024