Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: SQLSite – serve simple websites, APIs and files directly from SQLite (github.com/j4mie)
52 points by j4mie on Jan 16, 2020 | hide | past | favorite | 10 comments


I too wrote something similar in Python a couple of years ago. BUT that's not the point. Your contribution is well documented and effectively shared with whomever might want to use it. That is of value to our community.


Similar to my own LiteStore project ;)

Project Page: https://h3rald.com/litestore/

User Guide: https://h3rald.com/litestore/LiteStore_UserGuide.htm


Looks fairly interesting. I have a lot of static data heavy sites where I struggle with Static site generators.

This might be a good alternative.

Suggestion: First class serverless/S3 support perhaps?

This also reminds me of how crt.sh runs primarily off Postgres: https://github.com/crtsh


A few years ago, worked on something similar with Node, Redis and Cassandra... depending on the type of data a given site/resource was, it would either deliver the static content, or run a given node module/version to process and deliver the request... worked very well at scale.


Cool! I was thinking doing something similar.

Question: why not put everything into the SQLite DB as opposed to files next to the db in an archive?


That's exactly what it does do! Everything is served from the sqlar table inside the database. Is there a bit of the documentation that doesn't make that clear?


Interesting


Maybe I'm missing something. I built a website and hand-rolled cms ten years ago leveraging PhP and SQLite that stores and serves the site and certainly allows full CRUD operations.


This a Show HN where people post things they built. There doesn't need to be more than that. You too can post that cms you mentioned if you want.


Thank you for reminding me of that. I'll try to keep that in mind and hold my judgements.




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

Search: