DEV Community

Cover image for 7 Open Source Projects You Should Know - Go Edition ✔️
Domenico Tenace for This is Learning

Posted on • Updated on • Originally published at Medium

7 Open Source Projects You Should Know - Go Edition ✔️

Overview

Hi everyone 👋🏼​
In this article, I'm going to look at seven OSS repository that you should know written in Go, interesting projects that caught my attention and that I want to share.
Let's start 🤙🏼​


1. gomponents

gomponents are HTML components written in pure Go. They render to HTML 5, and make it easy for you to build reusable components. So you can focus on building your app instead of learning yet another templating language, amazing!💎

GitHub logo maragudk / gomponents

View components in pure Go, that render to HTML 5.

Tired of complex template languages?

Logo

GoDoc Go codecov Go Report Card

Try HTML components in pure Go.

gomponents are HTML components written in pure Go They render to HTML 5, and make it easy for you to build reusable components So you can focus on building your app instead of learning yet another templating language.

The API may change until version 1 is reached.

Check out www.gomponents.com for an introduction.

Made in 🇩🇰 by maragu, maker of online Go courses.

Features

  • Build reusable HTML components
  • Write declarative HTML5 in Go without all the strings, so you get
    • Type safety
    • Auto-completion
    • Nice formatting with gofmt
  • Simple API that's easy to learn and use (you know most already if you know HTML)
  • Useful helpers like Text and Textf that insert HTML-escaped text, Map for mapping data to components, and If/Iff for conditional rendering.
  • No external dependencies

Usage

Get the library using go get:

Enter fullscreen mode Exit fullscreen mode

2. lo

Do you know Lodash?
Okay,this library is similar but built for the Go projects!
It may look like Lodash in some aspects, try it!🧨

GitHub logo samber / lo

💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)

lo - Iterate over slices, maps, channels...

tag Go Version GoDoc Build Status Go report Coverage Contributors License

samber/lo is a Lodash-style Go library based on Go 1.18+ Generics.

This project started as an experiment with the new generics implementation. It may look like Lodash in some aspects. I used to code with the fantastic "go-funk" package, but "go-funk" uses reflection and therefore is not typesafe.

As expected, benchmarks demonstrate that generics are much faster than implementations based on the "reflect" package. Benchmarks also show similar performance gains compared to pure for loops. See below.

In the future, 5 to 10 helpers will overlap with those coming into the Go standard library (under package names slices and maps). I feel this library is legitimate and offers many more valuable abstractions.

See also:

  • samber/do: A dependency injection toolkit based on Go 1.18+ Generics
  • samber/mo: Monads based on Go 1.18+ Generics (Option, Result, Either...)

Why this name?

I…

3. TiDB

TiDB is an open-source distributed SQL database that supports Hybrid Transactional and Analytical Processing workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability 📍

GitHub logo pingcap / tidb

TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/

TiDB, a distributed SQL database

LICENSE Language Build Status Go Report Card GitHub release GitHub release date Coverage Status GoDoc

Official Website Playground


       

What is TiDB?

TiDB (/’taɪdiːbi:/, "Ti" stands for Titanium) is an open-source distributed SQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.

See what TiDB is capable of ONLINE at the TiDB Playground.

For more details and the latest updates, see the TiDB documentation and release notes.

For future plans, see the TiDB roadmap.

Quick start

Start with TiDB Cloud

TiDB Cloud is the fully-managed service of TiDB, currently available on AWS and GCP.

Quickly check out TiDB Cloud with a free trial.

See the TiDB Cloud Quick Start Guide.

Start with TiDB

See TiDB Quick Start Guide.

Start developing with TiDB

See TiDB Developer Guide and TiDB Cloud Developer Guide.

Community

You can join the following groups or channels to discuss or…

4. MatrixOne

MatrixOne is a hyper-converged cloud & edge native distributed database with a structure that separates storage, computation, and transactions to form a consolidated HSTAP data engine. This engine enables a single database system to accommodate diverse business loads such as OLTP, OLAP, and stream computing. It also supports deployment and utilization across public, private, and edge clouds, ensuring compatibility with diverse infrastructures 📈

GitHub logo matrixorigin / matrixone

Hyperconverged cloud-edge native database

Connect with us:

matrixone16 matrixone16

If you are interested in MatrixOne project, please kindly give MatrixOne a triple `Star`, `Fork` and `Watch`, Thanks!

Contents

What is MatrixOne?

MatrixOne is a hyper-converged cloud & edge native distributed database with a structure that separates storage, computation, and transactions to form a consolidated HSTAP data engine. This engine enables a single database system to accommodate diverse business loads such as OLTP, OLAP, and stream computing. It also supports deployment and utilization across public, private, and edge clouds, ensuring compatibility with diverse infrastructures.

MatrixOne

💥 Hyper-converged Engine

Monolithic Engine HTAP data engine that supports a mix of workloads such as TP, AP, time series, and machine learning within a single database.


Built-in Streaming Engine
Built-in stream computing engine that enables real-time data inflow, transformation, and querying.





5. Algernon

Algernon is a web server with built-in support for QUIC, HTTP/2, Lua, Teal, Markdown, Redis, PostgreSQL, MariaDB/MySQL, MSSQL, rate limiting, graceful shutdown, plugins, users and permissions and more other features and technologies 💻

GitHub logo xyproto / algernon

Small self-contained pure-Go web server with Lua, Teal, Markdown, Ollama, HTTP/2, QUIC, Redis and PostgreSQL support

Algernon

Build GoDoc License Go Report Card FOSSA Status Stand With Ukraine

Web server with built-in support for QUIC, HTTP/2, Lua, Teal, Markdown, Pongo2, HyperApp, Amber, Sass(SCSS), GCSS, JSX, Ollama (LLMs), BoltDB (built-in, stores the database in a file, like SQLite), Redis, PostgreSQL, MariaDB/MySQL, MSSQL, rate limiting, graceful shutdown, plugins, users and permissions.

All in one small self-contained executable.

Distro Packages

Packaging status

Quick installation (development version)

Requires Go 1.21 or later.

go install github.com/xyproto/algernon@latest

Or manually:

git clone https://github.com/xyproto/algernon
cd algernon
go build -mod=vendor
./welcome.sh

Releases and pre-built images

See the release page for releases for a variety of platforms and architectures.

Getting Started

See TUTORIAL.md.

Docker

The Docker image is less than 12MB and can be tried out (on x86_64) with:

mkdir localhost
echo 'hi!' > localhost/index.md
docker run -it -p4000:4000 -v .:/srv/algernon xyproto/algernon

And then visiting http://localhost:4000 in a browser.

Technologies

Written in Go. Uses Bolt (built-in), MySQL, PostgreSQL or Redis (recommended) for the database backend, permissions2 for…

6. Flipt

Flipt enables you to follow DevOps best practices and separate releases from deployments. Built with high-performance engineering organizations in mind. It can be deployed within your existing infrastructure so that you don't have to worry about your information being sent to a third party or the latency required to communicate across the internet🌐

GitHub logo flipt-io / flipt

Enterprise-ready, GitOps enabled, CloudNative feature management solution

Flipt

An enterprise-ready, GRPC powered, GitOps enabled, CloudNative, feature management solution


Flipt Dashboard

Flipt enables you to follow DevOps best practices and separate releases from deployments. Built with high-performance engineering organizations in mind.

Flipt can be deployed within your existing infrastructure so that you don't have to worry about your information being sent to a third party or the latency required to communicate across the internet.

With our GitOps-friendly functionality, you can easily integrate Flipt into your CI/CD workflows to enable continuous configuration and deployment with confidence.

DevHunt - Tool of the Week  Console - Developer Tool of the Week

Managed Cloud

Want the best of Flipt without the hassle of running it yourself? Check out our managed offering.

Flipt Managed Cloud

Features

  • Fully managed Flipt service
  • Multiple Environments
  • Integrated with GitHub
  • Automatic Upgrades
  • SSO / SAML Authentication
  • Granular Access Control

Usecases

Flipt supports use cases such as:





7. Portmaster

Portmaster is a free and open-source application firewall that does the heavy lifting for you. Restore privacy and take back control over all your computer's network activity with great defaults your privacy improves without any effort 💯

GitHub logo safing / portmaster

🏔 Love Freedom - ❌ Block Mass Surveillance

Get Peace of Mind
with Easy Privacy

Portmaster is a free and open-source application firewall that does the heavy lifting for you Restore privacy and take back control over all your computer's network activity.

With great defaults your privacy improves without any effort. And if you want to configure and control everything down to the last detail - Portmaster has you covered too. Developed in the EU 🇪🇺, Austria.

Download for Free

About Us

Portmaster User Interface

seen on:

    ghacks.net     Techlore     Lifehacker

  1. Monitor All Network Activity
  2. Full Control: Block Anything
  3. Automatically Block Trackers & Malware
  4. Set Global & Per‑App Settings
  5. Secure DNS (Doh/DoT)
  6. Record and Search Network Activity ($)
  7. Per-App Bandwidth Usage ($)
  8. SPN, our Next-Gen Privacy Network ($$)

Technical Introduction

Portmaster is a privacy suite for your Windows and Linux desktop.

Base Technology

  • Portmaster integrates into network stack using nfqueue on Linux and a kernel driver (WFP) on…

Conclusion

This list lists seven open source projects that are worth checking out, either to use them or even to contribute🖖
Happy coding!✨


Hi👋🏻
My name is Domenico, software developer passionate of Vue.js framework, I write article about it for share my knowledge and experience.
Don't forget to visit my Linktree to discover my projects 🫰🏻

Linktree: https://linktr.ee/domenicotenace

Follow me on dev.to for other articles 👇🏻

If you like my content or want to support my work on GitHub, you can support me with a very small donation.
I would be grateful 🥹

Top comments (2)

Collapse
 
gadekar_sachin profile image
Sachin Gadekar

impressive

Collapse
 
dvalin99 profile image
Domenico Tenace

Thank you for the feedback :)