almanack
Listmonk
almanack | Listmonk | |
---|---|---|
11 | 73 | |
21 | 13,571 | |
- | - | |
9.0 | 9.2 | |
13 days ago | 9 days ago | |
Go | Go | |
MIT License | GNU Affero General Public License v3.0 |
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.
almanack
-
I think I'm going crazy refactoring my web app
You need to add the base template to the ParseFS call. The code here is more complicated than it needs to be. You don’t need to go through the FS yourself. The template parser can do that for you. Look at this example which doesn’t use a base template but could: https://github.com/spotlightpa/almanack/blob/master/layouts/layouts.go You would just change it to
-
Passing sql transactions when not needed
For me, GetBooks is a method on a query object and a query object has a DBTX interface struct field. So if I don’t need a transaction, I just use the normal DB as the DBTX but if I do, I call a method to open a TX first and use that. https://github.com/spotlightpa/almanack/blob/master/internal/db/db.go
- Is there a good example of an open source non-trivial (DB connection, authentication, authorization, data validation, tests, etc...) Go API?
-
ORM or no ORM (and which ones)?
Pagination is just an offset and a limit. There’s another package that handles the math for you: https://github.com/spotlightpa/almanack/blob/master/internal/paginate/paginate.go
- Help with lazy loading routes in Vue Router 3 with Vite
-
sqlc patterns in production
You can have methods on the SQLC structs. They just need to be in a separate file. See https://github.com/spotlightpa/almanack/blob/master/internal/db/page.go eg.
-
How are YOU using generics so far?
So far, just refactoring. I made a concurrency manager to simplify some stuff, and unified some pagination code. It’s like we said before generics: there are places you miss it, but not having it was never a total blocker. I think going working the x/slices x/maps packages will be the biggest time savers.
-
The HTML Data List Element
I ended up shipping this as a similar autocomplete field: https://github.com/spotlightpa/almanack/blob/master/src/comp...
It's a little different because I put the chosen selections on a row above the input row, but the principle is the same.
-
Testing a method which requires an API Key
https://github.com/spotlightpa/almanack/blob/master/internal/herokuapi/herokuapi_test.go#L14:L21
-
How to avoid duplicate code in gorilla/mux middleware
I’m using Chi not Gorilla, but you can see my JWT Auth middleware here: https://github.com/spotlightpa/almanack/blob/master/pkg/api/routes.go#L37
Listmonk
- Ask HN: What is a good alternative to SendGrid?
- Listmonk: Newsletter and mailing list manager with a modern dashboard
-
Bots Invaded My Newsletter. Here's How I Fought Back with ML ⚔️ 🤖
I have mainly name and email fields in the newsletter signup and there is no verification. Then I manually blacklisted all the bots in the email service Listmonk.
- Listmonk: High performance, self-hosted, newsletter, mailing list manager in Go
-
My Open-Source toolkit for 2024
Listmonk – An open-source alternative to Mailchimp just released version 3. It’s great as a stand-alone newsletter. Also seems like a low lift for capturing leads for side projects.
- Listmonk: High performance, self-hosted, newsletter and mailing list manager
-
Show HN: I built a tool to send 10k emails for $1 via AWS
Here is another great self hosted solution that I came across. Really high performance (written in Go). No affiliation but well done open source product.
https://listmonk.app
- Show HN: Ideas, 351 pages – the Unvalidated Ideas 2023 Edition eBook
- Self-hosted newsletter and mailing list manager
-
How to send bulk/mass email – software for hosting your own email web server
When I searched for this I had a very hard time finding a right answer because all the results were SEO blogs advertising their newsletter services (Mailchimp, Convertkit, etc.), which is not the same thing.
So I wrote this overview covering all the options I found. Additional input is welcome.
Even though Listmonk seems like the best free & open source option, there aren't many guides for it and the documentation is quite limited. So [I've been having trouble getting it running on a CentOS server](https://github.com/knadh/listmonk/issues/1004#issuecomment-1...).
It's a shame that it seems to be used by thousands of people but almost no one bothers to create guides or improve the docs.
What are some alternatives?
bun - SQL-first Golang ORM
Mautic - Mautic: Open Source Marketing Automation Software.
tinykv - tiny in-memory single-app kv (cache) with explicit and sliding expiration
Keila - Open Source Newsletter Tool.
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Postal - 📮 A fully featured open source mail delivery platform for incoming & outgoing e-mail
jet - Type safe SQL builder with code generation and automatic query result data mapping
Mailtrain - Self hosted newsletter app
myapp - 🚀 How to build a Dockerized RESTful API application using Go.
DadaMail - Self-Hosted, Full Featured, Email Mailing List Manager. Announcement + Discussion Lists, Web-based Installer, Installs with minimal dependencies, sendmail/SMTP/Amazon SES supported
watchman - AML/CTF/KYC/OFAC Search of global watchlist and sanctions
Mail For Good - An open source email campaign management tool for nonprofits