HackerTrans
TopNewTrendsCommentsPastAskShowJobs

blackmamoth

no profile record

Submissions

Show HN: Scribe – Generate styled emails from plain English

usescribe.ashpak.dev
2 points·by blackmamoth·vor 6 Monaten·0 comments

Show HN: Scribe – generate and preview transactional emails from plain English

usescribe.ashpak.dev
2 points·by blackmamoth·vor 6 Monaten·1 comments

Show HN: Envyron – reusable env var templates and code snippets

envyron.vercel.app
1 points·by blackmamoth·vor 10 Monaten·0 comments

Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

github.com
47 points·by blackmamoth·letztes Jahr·72 comments

comments

blackmamoth
·vor 6 Monaten·discuss
I wanted to build my own v0-style code generation tool, but starting with a full web app builder felt overwhelming. So I narrowed the scope to something more focused: an AI email generator.

What it does: Describe an email in plain English, select your brand (logo, colors), and get a responsive, styled email. The AI generates React Email components, which means you get email-client-compatible code that you can version control and customize. Export as React or HTML.

One interesting technical decision: Initially used WebContainer for live preview, but boot time was 30-40 seconds plus 3-4s compilation. Switched to client-side Babel transpilation - now previews render in <1s. Trade-off is you can't install additional packages (e.g., custom icon libraries), but React Email's built-in components cover most use cases. Did I make the right call here?

Stack: TanStack Start, React Email, Postgres, Vercel AI SDK, Resend

Try it: https://usescribe.ashpak.dev GitHub: https://github.com/Blackmamoth/scribe

Would love feedback on whether this solves a real problem or if existing tools are already good enough.
blackmamoth
·letztes Jahr·discuss
To be completely honest, I didn't even think about ansible when creating this (probability because I haven't yet used it), I looked at pssh and clusterssh and just decided to build one myself.
blackmamoth
·letztes Jahr·discuss
Dude, your tool does so much than just run ssh commands. I just took a quick glance at your project, just wanted to know does this have support for vultr?
blackmamoth
·letztes Jahr·discuss
Haven't really used powershell for my tasks and I'm not as experienced as you are, but what you said sounds absolutely cool, I'll check it out
blackmamoth
·letztes Jahr·discuss
I did use asciinema for creating the demo, but since there is no support for it to play in markdown, I went ahead and created a gif using agg.
blackmamoth
·letztes Jahr·discuss
Haven't set a limit to how many connections are shown, once all the commands are executing, each result (success/failure) is shown at once. So if you connect to 1000 computers, your shell will be flooded with progress bars first and then the output.

Maybe I should set a limit or let the user set a limit to how many results should be shown once the process is completed. Showing m and n results from the start and end
blackmamoth
·letztes Jahr·discuss
Hey, I missed your comment earlier. And yes, I'd love to hear about those parameters and how they'd be useful
blackmamoth
·letztes Jahr·discuss
Are you still asking this question in an interview? I know a thing or two about sshing into servers, I think I'd be a good enough candidate
blackmamoth
·letztes Jahr·discuss
I know ansible or even custom shell scripts are way better and optimized for such use cases. However, I just wanted to show something I built that might be useful to someone.
blackmamoth
·letztes Jahr·discuss
Hey, yeah I admit i should've written the README myself, but I'm kinda lazy , so I let gpt handle both readme and the post. And I do know there are other tools way better than this and battle tested, but I just built this for fun and not to compete with any of them.
blackmamoth
·letztes Jahr·discuss
I was getting bored, this seemed like a cool project to work on outside of work, that's why. One of my colleagues found it useful for his needs, so I figured there might be other people who'd find this useful too.
blackmamoth
·letztes Jahr·discuss
As of now there is no way to take user input in transit, so either the user is required to have the privilege to execute the specified command or have passwordless sudo available.

And Yeah, now that you've mentioned it multiple shorter gifs would be better.
blackmamoth
·letztes Jahr·discuss
Originally I was going to write the prototype in python and than later reimplement it in Golang, but right now I'm not sure if it's needed
blackmamoth
·letztes Jahr·discuss
Hey man that's really cool, I never really thought of making this interactive.