Public
Readme
We started using dub.co for shortlinks at Mux, so we made a quick Slackbot to make it easier!
- Fork this thing to your account
- Set up a Slack bot/app and have the webhooks point at your forked Val
- Add the following environment variables to Val.town:
DUB_API_KEY
your Dub API keyDUB_WORKSPACE_ID
your Dub workspace IDSLACK_MUX_LINK_SIGNING_SECRET
Signing secret for the app you created
- Update the
LINK_DOMAIN
variable to be the one you want to use (needs to be set up in Dub, of course) - Use the command you created in your Slack app! For us, it looks like this:
/mux.link https://example.com neat-example This is a quick link for an example.
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
mux-dublinkmaker.web.val.run
Updated: June 26, 2024