![Avatar](https://images.clerk.dev/uploaded/img_2PqHa2Gsy93xQrjh2w78Xu0cChW.jpeg)
stevekrouse
mayor of val town
Public vals
779
![stevekrouse avatar](https://images.clerk.dev/uploaded/img_2PqHa2Gsy93xQrjh2w78Xu0cChW.jpeg)
stevekrouse
classless_css
HTTP
Utilities for Classless CSS Forked from Paul Kinlan's Classless CSS Demo Usage For projects that should be pretty in an unopinionated way import { randomStyle } from "https://esm.town/v/stevekrouse/classless_css";
export default async function(req: Request): Promise<Response> {
return new Response(`<h1>Welcome to Val Town!</h1>${randomStyle}`, {
headers: {
"Content-Type": "text/html",
},
});
}
2
![stevekrouse avatar](https://images.clerk.dev/uploaded/img_2PqHa2Gsy93xQrjh2w78Xu0cChW.jpeg)
stevekrouse
company
Email
Val Town Company *@val.town Email Routing This val forwards emails to addresses that don't exist to all of us at Val Town. For example, this forwards feedback@val.town to all of us. We achieve this by forwarding emails to this email handler, and this email handler forwards them along. To accomplish this without Val Town would require setting up a Google Group. I prefer doing it in code. Over time we will have more complex routing here.
1
![stevekrouse avatar](https://images.clerk.dev/uploaded/img_2PqHa2Gsy93xQrjh2w78Xu0cChW.jpeg)
stevekrouse
renderEmails
Email
Forward Render Error Emails to Github & Discord Render sends emails when deploys fail but I want those
notifications to come in our team Discord channel,
and tag our team.
Render doesn't have webhooks for this,
so I set up a Gmail filter and
forward to this email handler val,
which in turn forwards the content to our engineering Discord channel. I also found myself wanting this script to auto-create
Github Issues, assigned to the right person, in our current milestone,
so now this script does that, with @stevekrouse/createIssue as the helper function.
0