Hacker Newsnew | past | comments | ask | show | jobs | submit | msurdi's commentslogin

Hi folks,

A couple years ago I started this small project for doing "old style" server templates but in a much more modern way and wanted to share it here. I'd appreciate any feedback you might have or any ideas to improve it if you have any.

I know nowadays doing "old style" templates is pretty out of fashion for many of us, but when working just myself on some side projects I felt like using a full blown modern "SPA" framework such as React or Vue was overkill, so I opted for doing plain old server templates with Stimulus.js sprinkles for the client side interactivity.

I tried EJS, Handlebars, Nunjucks, and a few others but after having enjoyed the support you get for TypeScript, Intellisense, syntax highlighting, autoformatting and other benefits that you get when using JSX, I felt like the existing templating solutions were way too out of date.

So I gave it a spin and ended up building this. It looks a bit like JSX and it's actually inspired in lit-html, except it's simplified to the maximum (implementation is about 70 lines) and works both in the browser and on the server.

Thanks for any feedback.

NPM package: https://www.npmjs.com/package/html-string

Github repo: https://github.com/msurdi/html-string


Yet another shameless plug of my feed reader side project: https://github.com/msurdi/feedo

Not many features, and nothing super special, but I use it daily since I started it and works fine for myself. I'm also trying to make it as easy as possible to run, either on your own laptop or on any hosting provider.


I've built my own RSS feeds reader. Nothing great to write home about and quite simplistic but I use it daily.

https://github.com/msurdi/feedo


Shameless plug of my own RSS reader side project: https://github.com/msurdi/feedo.

It's not great nor complete, but is very simple and does the basic thing, it has no ads and there is no risk somebody will turn it off or push it in commercial ways.

I built it about a month ago over the weekend and haven't looked back to other popular services.

If you're a developer, making an RSS reader you like seems like a very nice side project to try out new tools, frameworks, etc... more useful than a TODO list and also very simple to build.


Cool project! I completely agree, it's my go to playground for tryi g out new ideas.

Mine is here: https://github.com/fallaciousreasoning/progrssive


Thanks for sharing! One small suggestion: add an UI screenshot in the repos would be nicer


This is very cool, thanks for sharing -- starred!


Feedo: An RSS/Atom reader that feels like an SPA but it is not.

Built 100% on JavaScript, using node, express, prisma, tailwind and unpoly.

Just invested a weekend and a couple more hours after work this week, so not many features and not well tested yet, but works.

https://github.com/msurdi/feedo


Yes, I think that's what basically the code is, some kind of a one time password. The fact it is just 5 digits is not something I've paid a lot of attention to be honest, as this is something really easy to change. Probably you could even use letters, symbols, etc... the trade-off is annoying a bit more the end user.

It also expires (see https://github.com/msurdi/wipku/blob/master/server/core/user...) , and the api should probably protected with rate limits, that should mitigate the brute force attacks I think.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: