gutenberg
dbmate
Our great sponsors
gutenberg | dbmate | |
---|---|---|
104 | 24 | |
12,549 | 4,252 | |
2.2% | - | |
8.4 | 7.9 | |
7 days ago | 9 days ago | |
Rust | Go | |
MIT License | 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.
gutenberg
-
Ask HN: Looking for lightweight personal blogging platform
If I were to start again from scratch, I'd likely use Zola as SSG (https://www.getzola.org/)
-
Gojekyll – 20x faster Go port of jekyll
I'm currently learning https://www.getzola.org/.
It's more manual than idy like but it's gonna be for a small personal and work website so I don't mind much.
It's super fast.
Doesn't seem to fit your use casr but still.
-
My Journey Away from the JAMstack
Honestly, frontend development especially with all these crowded frameworks and libraries always confused me so pardon my ignorance, which is why in a project I’m working on right now I’m trying not to use js, instead I’m using egui [1]
Zola is a static site generator and it’s crazy fast, using one binary only [2], also there’s Blades [3], same concept but supposedly faster, never tried it though.
-
Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG
Great project. But honestly, I reached to the point of “less JS” or even no js is better for developers and also users. I’m currently migrating my old blog to a new one that gets generated by Zola [1], and even my main portfolio site, which funnily enough I newly made it with React/Gatsby, but I’m redoing it again with Zola because of the performance gap is just unmatched, not to mention I personally sometimes browse the web with js disabled so if a website is completely non-functional or doesn’t even load because of that is a deal breaker. My old site years ago used to use jquery and I was annoyed by it to some degree, trying react and the likes was a nightmare!
- It Took Me a Decade to Find the Perfect Personal Website Stack – Ghost+Fathom
-
Documentation generators and custom syntax highlighting
Zola (https://www.getzola.org/) can generate from markdown-ish files nice looking documentation websites (and also RSS feeds), it uses syntect (https://github.com/trishume/syntect) which supports sublime syntax highlight files. For github readme I don't have a solution besides using a png.
-
htmx 1.9.0 has been released
The htmx website has been migrated from 11ty to zola by @danieljsummers, cutting way down on the number of “development” javascript dependencies
- Tufte CSS
-
Ask HN: What simple web apps do you wish existed? Seeking ideas for sample apps
This one smells a bit like something I run into at work sometimes, where a non-technical person makes a technical decision and the technical people don't sufficiently challenge it.
If you're trying to convert markdown documents into webpages, the most likely output format would surely be HTML, or perhaps something custom to the site like MediaWiki markup.
It's totally possible that a site would allow for new documents to be uploaded in a JSON format, but the format would have to be specified (e.g. which keys are used for the post body and subject) - so "whatever you deem best" is unlikely to work, it would need to be "whatever my webhost expects, which is documented -here-"
I'm happy to be wrong here, and zainhoda's markdown to JSONified HTML is interesting regardless - but I suspect you really wanted a markdown to HTML converter. ex: https://markdowntohtml.com/ or something more extreme like a static site generator: https://www.getzola.org/
- Ask HN: Which Python or Rust-based static site generators to use as of 2023?
dbmate
-
Level UP your RDBMS Productivity in GO
As we want to maintain the track of our changes to the DB, we are going to use migrations. In this case, we are going to use dbmate. But, you can use any other tool you want.
-
Rails 7.1 Released
> For example having database migrations built in etc.
I actually went the exact opposite route, at least when possible: https://github.com/amacneil/dbmate
Pure SQL migrations, regardless of the back end technology that you use, completely decoupled from how each framework/library views things and therefore not dependent on them (you could even rewrite the back end in another technology later on, if needed; or swap ORMs; or avoid issues when there's a major ORM version update).
It's really nice when you can generate entity mappings based on a live database, like with https://blog.jetbrains.com/dotnet/2022/01/31/entity-framewor...
So in my case, I can have:
* a DB that has migrations applied with dbmate, completely decoupled from any back end(s) that might use it
- FLaNK Stack Weekly 2 October 2023
-
How do your teams run DB migrations?
You can run dbmate as part of your CI/CD pipeline. You just keep a dbmate directory in your repo and deploy migrations with your code.
-
Working with TypeORM 0.3x with Nestjs - I wasn't aware so many people were facing issues with it
In general with ORMs, you will face a problem in one way or another. I ended up simply using https://github.com/gajus/slonik and https://github.com/amacneil/dbmate for migrations. My life is way much better since then.
-
what do you use for migrations? or how do you the sql tables and seeding?
I like dbmate, super simple and straightforward to use. For your specific use case, it can also be configured using your .env!
- GORM
-
New post: Is Prisma better than your 'traditional' ORM?
Would always go for a language agnostic migration tool, e.g. https://github.com/amacneil/dbmate to stay flexible and stay away from lock-in effects (besides sql).
- I greatly dislike ORMs, but I find myself wanting ORM agnostic SQL migration tools. What do you use to perform RDBMS table migrations outside of an ORM?
-
Instant Multi-Tenant GraphQL APIs with PostGraphile, RLS, and PropelAuth
For managing the schema, you’ll likely want to use a tool like dbmate or Flyway, which can help you update the database over time. For this tutorial, we’ll just create it directly:
What are some alternatives?
goose - A database migration tool. Supports SQL migrations and Go functions.
sqlite-bench - PostgreSQL & SQLite Speed Test
Hugo - The world’s fastest framework for building websites.
Flyway - Flyway by Redgate • Database Migrations Made Easy.
liquibase - Main Liquibase Source
migra - Like diff but for PostgreSQL schemas
eleventy 🕚⚡️ - A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
SQLBoiler - Generate a Go ORM tailored to your database schema.
Nikola - A static website and blog generator
Sapper - A lightweight web framework built on hyper, implemented in Rust language.
Rocket - A web framework for Rust.
golang-samples - Sample apps and code written for Google Cloud in the Go programming language.