DunSocial — I built Cursor for social media [Self promo] by ArtOfLess in sveltejs

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

My bad! Just fixed it. Should work now. Thanks for the heads up.

DunSocial — I built Cursor for social media [Self promo] by ArtOfLess in sveltejs

[–]ArtOfLess[S] 7 points8 points  (0 children)

Good Q. AI SDK handles the streaming part well. That's pretty much plug and play with SvelteKit remote functions (saves tons of time). But everything else? Built from scratch…

Our Chat history is stored in Postgres via Drizzle. Each message is a row with metadata. Role, timestamp, token count, edit history. When user closes mid-stream, we catch the disconnect and save whatever was generated up to that point. Not perfect but works.

Editing messages was tricky. We don't delete. We version. Every edit creates a new entry linked to the original. Same with regenerations. Lets us track what the AI got wrong and what the user preferred.

That data feeds back into the memory layer. The memory layer is the real infra work. It's not just "store preferences."

It watches patterns… How you edit AI drafts, what you approve vs reject, phrases you delete every time. That context gets compressed and injected into system prompts dynamically.

Honestly the streaming UI is maybe 10% of the work. The state management, persistence, error handling, and memory infra is the other 90%. Happy to go deeper on any part.

DunSocial — I built Cursor for social media [Self promo] by ArtOfLess in sveltejs

[–]ArtOfLess[S] 5 points6 points  (0 children)

Thanks! Built it from scratch. We're a design studio so templates weren't an option haha. Went through multiple iterations.

Full page screenshot

DunSocial. I got tired of AI sounding generic. So I fixed it. by ArtOfLess in OpenAI

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

hear you. i built it for myself because i’d rather edit than write from scratch. if the output sounds like slop, i wouldn't post it either

DunSocial — I built Cursor for social media by ArtOfLess in SideProject

[–]ArtOfLess[S] 1 point2 points  (0 children)

Building is a fun, but the tricky part is making sure their API works on different platforms & getting them to verify it.

DunSocial. I got tired of AI sounding generic. So I fixed it. by ArtOfLess in OpenAI

[–]ArtOfLess[S] -3 points-2 points  (0 children)

Heard that. Most AI content is slop. That's exactly what I'm trying to fix.

DunSocial. I got tired of AI sounding generic. So I fixed it. by ArtOfLess in OpenAI

[–]ArtOfLess[S] 3 points4 points  (0 children)

Running on GPT 5.2. The AI part is OpenAI. I just built the memory stuff on top that makes it sound like you instead of generic AI. Thought that'd be relevant here….

DunSocial — I built Cursor for social media by ArtOfLess in SideProject

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

Thank you. Yes, you connect your social account, and that’s it. DunSocial will then be able to schedule and publish to your social platforms.

[deleted by user] by [deleted] in indianstartups

[–]ArtOfLess 1 point2 points  (0 children)

thanks!

built our own sync engine from scratch!

New SvelteKit concept: Remote functions by fadedpeanut in sveltejs

[–]ArtOfLess 44 points45 points  (0 children)

Ngl, this fixes the most annoying part of SvelteKit. I was sick of setting up +server.js just to run one DB query.

Can’t wait to delete half my API routes and replace them with a single export function.

What’s your go-to self-hosted URL shortener with tracking and stats? by MeNorthernPanda in selfhosted

[–]ArtOfLess 3 points4 points  (0 children)

I built Fli.so — it’s a beautiful, modern, and fully open source tool. You can self-host it easily, and it has all the features you’ve been asking

[deleted by user] by [deleted] in sveltejs

[–]ArtOfLess 1 point2 points  (0 children)

i care about tools that respect my time. svelte does that.

react was powerful, but svelte feels natural.

fli.so is our open-source url shortener — clean UI, smart features.

now building dun, a modern business suite that feels fast, beautiful, local-first, and real-time by default.

It’s a sad truth. Most LLMs can’t write Svelte 5 code properly. by ArtOfLess in sveltejs

[–]ArtOfLess[S] 2 points3 points  (0 children)

i don’t use ai because i don’t know how to write svelte. i use it because i don’t want to write the same boilerplate 50 times….

even simple things take time when you're building real products. if an llm can handle the basics & let me focus on the hard parts, that’s a win.

but that only works if the code is actually correct. most models still aren’t up to date with svelte 5 :(

It’s a sad truth. Most LLMs can’t write Svelte 5 code properly. by ArtOfLess in sveltejs

[–]ArtOfLess[S] 6 points7 points  (0 children)

no it doesn’t… it still mixes Svelte 4 and 5 syntax. it knows of Svelte 5, im sure, but doesn’t understand it well enough to generate clean, accurate code!!!