prawn-stack
logpaste
prawn-stack | logpaste | |
---|---|---|
4 | 8 | |
6 | 310 | |
- | - | |
4.5 | 7.7 | |
5 months ago | about 1 month ago | |
TypeScript | Go | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prawn-stack
-
PostgreSQL Views and Materialized Views and How They Influenced TimescaleDB
I wanted incremental refresh in Postgres as well and found that you can manage your own table to get something close.
Basically you create a regular table in place of a materialised one, only aggregate data newer than what's currently in the table then store the new aggregates in table. Repeat this an interval.
https://github.com/cadbox1/prawn-stack/blob/master/src/backe...
I use this to show page view data aggregated by hour without calculating it on each request using Lambda
https://prawn.cadell.dev/
- A modern page view counter to see unpopular my project is. Powered by a PRAwN stack (Postgres, React, AWS and Node) in the free tier deployed using CDK.
- Show HN: A modern page view counter to see how unpopular my project is
-
The Architecture of a One-Man SaaS
I don't have the startup part yet but here's my one-person stack with Postgres, Node and React deployed on AWS with CDK using RDS, Lambda, S3 and Cloudfront. It's 100% in the free tier.
https://github.com/cadbox1/prawn-stack
logpaste
-
Migrating from SQLite to PostgreSQL
FWIW, I've used Litestream on Google Cloud Run and never run into issues, but I haven't pushed it much:
https://github.com/mtlynch/logpaste/blob/master/docs/deploym...
-
PicoShare: A minimalist, easy-to-host service for sharing images and other files
Currently, no. I've implemented that functionality recently in my other tool, LogPaste, so it shouldn't be too hard to reproduce here.
- Log Paste
-
How Litestream Eliminated My Database Server for $0.03/month
My tool is called LogPaste. It allows users to generate shareable URLs for text files. I use it in my open-source KVM over IP device so that users can easily share diagnostic logs with me.
-
LogPaste: A self-hostable pastebin that replicates data to any S3 provider
I designed it with self-hosting in mind, so there are instructions for hosting it under Docker, as well as with several free cloud hosting providers. You can even host the data storage part yourself if you use a solution like Minio.
-
The Architecture of a One-Man SaaS
I still use GCP, but I avoid locking myself into their proprietary infrastructure when I'm writing new stuff. I feel like Google is far too cavalier about deprecating services and forcing their customers to do migration work.
It is hard to replace GCP's managed datastores because I really don't want to maintain my own database server (even if it's a managed service that someone else upgrades for me). So I've stuck to Google Cloud Datastore / Firestore, but I've been experimenting a lot with Litestream[0], and I think that might be my go-to choice in the future instead of proprietary managed datastores.
Litestream continuously streams data from a SQLite database to an S3 backend. It means that you can design your app to use SQLite and then sync the database to any S3 provider. I designed a simple pastebin clone on top of Litestream, and I use it in production for my open source KVM over IP. It's worked great so far, though I'm admittedly putting a pretty gentle workload on it (a handful of requests per day).
[0] https://litestream.io/
[1] https://github.com/mtlynch/logpaste
What are some alternatives?
pg_ivm - IVM (Incremental View Maintenance) implementation as a PostgreSQL extension
tinypilot - Use your Raspberry Pi as a browser-based KVM.
node-pg-migrate - Node.js database migration management for PostgreSQL
s6-overlay - s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
litestream - Streaming replication for SQLite.
LetsShip - Let's learn devops by shipping a final product in .NET 5
diagrams - :art: Diagram as Code for prototyping cloud system architectures
pomf - Pomf is a simple lightweight file host with support for drop, paste, click and API uploading.
graphjin - GraphJin - Build NodeJS / GO APIs in 5 minutes not weeks
picoshare - A minimalist, easy-to-host service for sharing images and other files