Back to APIs list

Slack API examples & templates

Use these vals as a playground to view and fork Slack API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
rodrigotello avatar
valTownInspoList
@rodrigotello
Script
Val Town inspiration & use cases list List [as object] used in Val Town's use cases and inspiration. Check it out at in /examples/use-cases and /docs/tutorial/4
ejfox avatar
inventory
@ejfox
HTTP (preview)
* This val creates an interactive tech stack wizard that generates a video game-style inventory screen. * It uses React for the UI, leverages emoji and Unicode symbols for a visually rich experience, and * incorporates Tailwind CSS for elegant, grayscale styling. * The wizard allows users to select tools, libraries, and APIs, then displays them in a shareable format.
petermillspaugh avatar
june2024
@petermillspaugh
Script
@jsxImportSource https://esm.sh/preact
mwsz avatar
twitterAlert
@mwsz
Cron
Forked from stevekrouse/twitterAlert
mmcc avatar
createDubbingTestAsset
@mmcc
Script
Forked from mux/createDubbingTestAsset
stevekrouse avatar
twitterAlert
@stevekrouse
Cron
Twitter 𝕏 keyword Alerts Custom notifications for when you, your company, or anything you care about is mentioned on Twitter. 1. Authentication You'll need a Twitter Bearer Token. Follow these instructions to get one. Unfortunately it costs $100 / month to have a Basic Twitter Developer account. If you subscribe to Val Town Pro, I can let you "borrow" my token. Just comment on this val and I'll hook you up. 2. Query Change the query variable for what you want to get notified for. You can use Twitter's search operators to customize your query, for some collection of keywords, filtering out others, and much more! 3. Notification Below I'm sending these mentions to a private channel in our company Discord, but you can customize that to whatever you want, @std/email, Slack, Telegram, whatever. TODO [x] ~Filter out retweets. We've long wanted to filter these out. Should be a quick fix if anyone wants to send me a PR :)~ Completed by @sumukh
stevekrouse avatar
blueskyAlert
@stevekrouse
Script
Forked from buttondown/runner
stevekrouse avatar
firmIvorySawfish
@stevekrouse
Script
Forked from stevekrouse/demoSDK
tmcw avatar
twitterAlert
@tmcw
Cron
Forked from stevekrouse/twitterAlert
marianogenovese avatar
twitterAlert
@marianogenovese
Cron
Forked from stevekrouse/twitterAlert
dvsj avatar
GetWebsiteMetadata
@dvsj
HTTP
You know how when you paste a URL in Twitter or Slack it shows you a nice preview? This val gives you that data. Given a URL, this will return metadata about the website like title , description , imageURL , image as base64 etc. Sample input - paste this in your URL bar https://dvsj-GetWebsiteMetadata.web.val.run?targetURL=https://dvsj.in https://dvsj-GetWebsiteMetadata.web.val.run?targetURL=<your-target-url-here> Sample output: { status: 200, url: "https://dvsj.in", title: "Dav-is-here ➜", description: "Davis' not-so-secret stash", imgUrl: "https://www.dvsj.in/cover-picture.png", imgData: "data:image/png;base64,qwertyblahblah" } FAQ: Why is imgData sent when imgUrl is already present? Because you shouldn't hotlink images from 3rd parties. Store the base64 image on your server and use it in your app. It's unfair to use their server bandwidth and could be a security issue for you if they change the content of the link later.
sumukh avatar
twitterAlert
@sumukh
Cron
Forked from stevekrouse/twitterAlert
alexdphan avatar
twitterSearch
@alexdphan
HTTP
An interactive, runnable TypeScript val by alexdphan
arunc avatar
twitterAlert
@arunc
Cron
Forked from stevekrouse/twitterAlert
ikbear avatar
amaranthPlanarian
@ikbear
Cron
Forked from stevekrouse/twitterAlert
nevikashah avatar
twitterAlert
@nevikashah
Cron
Forked from stevekrouse/twitterAlert