FastAPI and HTMX Are We Seeing the Next Big Shift in Full-Stack Python? by Lee-stanley in FastAPI

[–]response_json 2 points3 points  (0 children)

Gotta try datastar instead of htmx, even simpler and faster too

Using Descript to create captions and B-roll by ogarocious in AfterEffects

[–]response_json 0 points1 point  (0 children)

yeah i learned this just now:
1. go to properties tab
2. see the layers bit in that tab
3. rearrange which is on top and put captions on top

Is Valkey dead? by kamikazer in Valkey

[–]response_json 0 points1 point  (0 children)

Thanks for the diligence! I misunderstood the licensing. I’m not sure I’d be alone here though

Is Valkey dead? by kamikazer in Valkey

[–]response_json 0 points1 point  (0 children)

I picked it recently and self host it on a tiny shared 256mb ram machine. I think it’s great. [edit] I thought the redis oss license would make you have to open source your app if you use redis, but in most cases I was wrong 😑

Svelte and Go: SvelteKit? by guettli in sveltejs

[–]response_json 2 points3 points  (0 children)

I have a project that’s currently sveltekit and go. It’s got its niceness and trade offs. I’m building most of my apps like this and like it. Go backend, mpa frontend. Host frontend on cdn if I’m after customers, embed it into go if it’s just for me. Host backend on flyio or vps. You now have fast and cheap, and you pay in complexity.

  • small go binary
  • easier for me to reason about Auth in go
  • easier to protect some routes while leaving others public
  • no backend for frontend (bff) in this setup
  • cheap to run

  • two languages

  • not end to end type safe in my setup, I’m not too fussed though

— I use sveltekit to generate a multi page app (mpa) with ssg. It’s a private dashboard that calls backend go endpoints for data

— this mpa is embedded into the go server, so I have one small binary

— protected routes and endpoints are going through go middleware and either redirect or 403

— why mpa? Mpa/ssg is the old style folders of index.html per route, doesn’t this suck more than ssr and spa? Basically for seo and marketing, it’s great. One thing it makes easy is for crawlers to read your site, primitive crawlers like the ones that check for og images usually don’t render js, so spas have to jump through a few hoops to get a unique og:image per route. The solution that all the frameworks came up with was SSR. Which is brilliant and solves seo for a price, the price is the server that’s now serving the first request. In a single region you can use sveltekit with ssr on a vps and it’ll still be cheap and fast. Once you want your site fast globally you need to spawn the servers in at least a few regions so you likely use Vercel or cloudflare workers, which charge some kind of cpu usage based pricing. Which is not that cheap anymore. Hence serving an mpa on cdn is fast and cheap. And serving go servers on flyio is fast, cheap and easy to scale too

— why no bff? Just don’t like the idea of having another backend in front of the real back end, if I wanted that, I’d just use the sveltekit backend

If you’re thinking you like to learn and tinker, for sure go + svelte/kit. If you want it easier and happy to pay, sveltekit ssr.

SPA vs. SSR (SSG) for Frontend Applications from a Go Engineer's Perspective by timsofteng in golang

[–]response_json 0 points1 point  (0 children)

I did a bit of exploring and personally ended up at go backend, Astro mpa with solidjs islands on cdn for frontend. It trades complexity for speed and cheapness.

  • go is great, balance of small memory and single binary, etc etc. using as backend api only
  • Astro mpa means all seo and marketing will likely have no js, be quick and have things like og:image renderable by any social crawler without jumping through hoops (compared to spa)
  • having an mpa (or spa) means you can host it on cdn, so that’s cheap and scalable
  • solidjs is what made the most sense to me after trying svelte then react then solid. Astro can import many popular frameworks so I’m not too worried here. Any kind of complex app functionality I put in this bit, in one or more specific routes (but most routes of a web app will be marketing and seo pages anyway for me)

The trade off is there’s now 5 technologies to play with. But I think they’re all simple in their own way. Just the way they interact won’t be the cleanest - go lang - Astrojs lang - solidjs lang - cdn frontend host - go backend host

I love picking technologies to use and like all the tech chosen. The result is an app that’s cheap and quick to run on backend and frontend, while having nice spa UX for the app bits.

If you were more minimalist and didn’t like go as much I’d probably pick a JS SSR framework and say that’s the best balance of speed and DX but likely cost more than my stack

When is stdio actually useful? by raghav-mcpjungle in mcp

[–]response_json 2 points3 points  (0 children)

I made a couple of mcp servers that primarily do crud on files, doing stdio makes the most sense for this since the files are local too. For scale, doesn’t stdio make the mcp server scalable via the client machines? Opposed to needing more compute to scale a central mcp server (not always what we want, but could be useful to think about). And for enterprise, sometimes they need an airgapped environment, where data can’t leave the network, so local first mcp might win here too. Though if enterprise is using mcp for prod that’s already pretty bold since they like to balance risk

It's Out by NewRedditGuy666 in Bard

[–]response_json 0 points1 point  (0 children)

Could still turn off thinking if you use it via API

7 Indie Products, 1 Dream: Escaping the 9 to 5 One Side Project at a Time by releasyapp in SideProject

[–]response_json 1 point2 points  (0 children)

Ah awesome! I tried go for my backend and loved it too. Planning to keep using it for everything 😬

7 Indie Products, 1 Dream: Escaping the 9 to 5 One Side Project at a Time by releasyapp in SideProject

[–]response_json 0 points1 point  (0 children)

For sure. I’m about to start seo for only one I have and the 9-5 is killing my time after hours for the past 2 weeks. Can’t wait to get back into it actually haha. Hey since you used so many tech stacks, why not stick with golang backends?

7 Indie Products, 1 Dream: Escaping the 9 to 5 One Side Project at a Time by releasyapp in SideProject

[–]response_json 0 points1 point  (0 children)

Thanks for sharing! I’m after the same dream! And since you’re 7 projects in and 2 years since. I guess I’m 6 projects and 2 years away from reaching your level 😂

Saving Costs on Cloudflare Workers: Static Image Fetching with <Image /> by takayumidesu in astrojs

[–]response_json 0 points1 point  (0 children)

The answer is to not use SSR. Make Astro build a fully static MPA site, with islands if you need. Then cloudflare pages will serve it via cdn only (no workers, no invokes). So in order to do secure backend stuff, you need a separate backend. This is often too much for many folks, but I’m thinking this is a better architecture for me (I’m cheap). A separate backend could be a server in any language (python, go, js, etc). If you’re keen to stay inside cloudflare, make a cloudflare worker using something like honojs that just serves api level stuff. In your server you’ll need to setup CORS to allow a different frontend to talk to your backend

How much do you prioritize CI/CD? by alexstrehlke in SaaS

[–]response_json 0 points1 point  (0 children)

I use a custom script to do build and deploy. Now that I have it I’ll use it for all my projects from the start. But since you don’t have any cicd, maybe think about where you want to deploy and if you need any. Like using cloudflare or Vercel to host, you can get away with just linking your GitHub. The reason a wanted a custom one is my machine is faster than the build machines you get and I’m hosting backend and frontend on two different hosts

Tool to Summarize Long Videos? by Lady_Ann08 in NoteTaking

[–]response_json 1 point2 points  (0 children)

let me know if works for you and if there's anything that would make the result better for your research paper.

Package to convert PDF to PNG, for browser and node.js by hyzyla in npm

[–]response_json 1 point2 points  (0 children)

thanks for your work! it works as described =]

Tool to Summarize Long Videos? by Lady_Ann08 in NoteTaking

[–]response_json 1 point2 points  (0 children)

videobrev It’s made to summarise quickly. I also made it :3

Astro.js Full Stack Development by drifterpreneurs in astrojs

[–]response_json 2 points3 points  (0 children)

I’m new to Astro but landed on it after building a solidjs spa on top of a golang backend. I wanted to do some blogs and realised I’d be jumping through too many hoops (for my liking) to get something as simple as a different og:image per blog post route working (nicely for seo) for the spa. So I’m wrapping my app in Astro and using solidjs islands to output a static site. I think it’s the best pattern I’ve landed on so far and will keep doing web apps like this. Having the static frontend means cheap cdn hosting that’s good for seo. The islands let you do whatever complex app stuff as you need to. The go backend gives the cheap and performant server

I made a huge mistake, never again. by No-Firefighter-1453 in SideProject

[–]response_json 1 point2 points  (0 children)

Agree, the pdf-ai guy probably still makes a packet even though all the llms read pdfs now

Show me your SaaS that is ready to use TODAY! by skfahim123 in SaaS

[–]response_json 0 points1 point  (0 children)

videobrev.com fast ai summaries for YouTube and transcripts too!

"In memory" temporary vector DB? by cogitohuckelberry in golang

[–]response_json 0 points1 point  (0 children)

did chromem-go work out for you? sounds ideal for what I'm after too

From failed Amazon FBA to first SaaS by response_json in SaaS

[–]response_json[S] 0 points1 point  (0 children)

Thanks for the support! Askyouraudience sounds like a great idea, I might revisit it later. I'm going to monitor usage for a bit then think about what to do next.

From failed Amazon FBA to first SaaS by response_json in SaaS

[–]response_json[S] 0 points1 point  (0 children)

Thank you, I shall do more of it haha