Avatar

andreterron

Dev Tools • Quantified Self
Joined August 18, 2022
Public vals
155
andreterron avatar
correctPostAboutTwitter
@andreterron
Script
An interactive, runnable TypeScript val by andreterron
andreterron avatar
sortedPosts
@andreterron
Script
Prioritizes posts by authors with the most followers
andreterron avatar
searchPostsForTheActuallyBot
@andreterron
Script
An interactive, runnable TypeScript val by andreterron
andreterron avatar
actuallyItsXBot
@andreterron
Script
Actually, It's 𝕏 An annoying bot that corrects people about the new name of the app previously known as Twitter. Follow it on 𝕏 ! The Twitter → 𝕏 transition is pretty painful, and this bot is here to make things even worse! Want to create your own bot? Check out https://www.val.town/v/andreterron.twitter
andreterron avatar
twitterRequestAccessToken
@andreterron
Script
An interactive, runnable TypeScript val by andreterron
andreterron avatar
publicKey
@andreterron
Script
An interactive, runnable TypeScript val by andreterron
andreterron avatar
dallemail
@andreterron
Script
Email DALL·E 2 image requests Send an email to andreterron.dallemail@valtown.email, it will forward it to DALL·E 2, and email you back the resulting image. Based on https://www.val.town/v/stevekrouse.emailGPT3
andreterron avatar
form_demo
@andreterron
HTTP (deprecated)
Live demo: https://andreterron-form_demo.web.val.run Form results: https://www.val.town/v/andreterron.formResponses
andreterron avatar
formResponses
@andreterron
Script
// set by andreterron.form_handler at 2023-09-14T15:04:57.786Z
andreterron avatar
form_handler
@andreterron
HTTP (deprecated)
Receive form responses Live demo: https://andreterron-form_demo.web.val.run/ Create a form that posts to your val: <form action="https://andreterron-form_handler.web.val.run" method="post"> <label for="username">Val Town username:</label> <input name="username" type="text"> <button type="submit">Submit</button> </form> And get your results stored as an array: // set by andreterron.form_handler at 2023-08-10T21:04:43.364Z let formResponses = [{ "username": "andreterron", }, { "username": "stevekrouse", }]; Usage Fork this val and click the 🔒 to set it as "Unlisted" Open the val menu → Endpoints → "Copy web endpoint" Use that url as the action attribute of your form Check out the example val: https://www.val.town/v/andreterron.form_demo Storage of form submissions This val saves to another val ( @me.formResponse ), which has a 100kb limitation (250kb for pro users), if you want to store them in a more scalable solution, check out our guides
andreterron avatar
honoGameTest
@andreterron
Script
An interactive, runnable TypeScript val by andreterron
andreterron avatar
pubNumber
@andreterron
Script
An interactive, runnable TypeScript val by andreterron
andreterron avatar
receivedCommentsEmail
@andreterron
Script
An interactive, runnable TypeScript val by andreterron
andreterron avatar
receivedNewComments
@andreterron
Script
Email notifications when your vals receive comments Setup Create a Val Town API Token Add it to your secrets as valtown Fork & Run this val
andreterron avatar
comments
@andreterron
Script
An interactive, runnable TypeScript val by andreterron
andreterron avatar
prepareRunErrorsEmail
@andreterron
Script
An interactive, runnable TypeScript val by andreterron