cloc
k3s
Our great sponsors
cloc | k3s | |
---|---|---|
28 | 291 | |
18,395 | 26,349 | |
- | 1.5% | |
8.7 | 9.6 | |
28 days ago | 3 days ago | |
Perl | Go | |
GNU General Public License v3.0 only | Apache License 2.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.
cloc
-
erdtree: A modern, multi-threaded, and ️🌈aesthetic️🌈 alternative to tree and du - v1.7.0 release ️
Awesome stuff, thank you! I‘d love some flags/options for cloc integration if it can be detected, maybe a summary of the top N languages for directories (67% Rust, 13% Html, 9% Bash) or something. Just a suggestion/idea. Gonna install it anyway, it‘s shiny!
-
I created a Blazor server-side application that has processed its first $1k in sales volume
The solution I am using is currently comprised of 145 projects, 141k+ lines of C#, and 37k+ lines of Razor, courtesy of cloc:
-
Take More Screenshots
When I started making a game [0] last year, first thing I did was write a little Unity script that takes a screenshot of the opening scene, counts current lines of code using CLOC [1] (for fun, not as a true measure of anything), and occasionally renders it all out to an image file.
With that I'm able to create some pretty fun time lapses of progress. I've been doing this at an arbitrary milestone, whenever my Luau [2] LOC surpasses C++ by another factor. This post reminded me I'm overdue for another now that Luau > 3x C++ LOC.
I find it rewarding to look back at my progress. I'll share in case it's interesting for you too [3].
[0] https://store.steampowered.com/app/2168330/Helmscape/
[1] https://github.com/AlDanial/cloc
[3] https://twitter.com/kineticpoet/status/1619508466212831232
-
I made a tool to count the lines of code in a repo! Can you check it out?
Does it perform better for Go than cloc (which has the advantage of supporting a ton of languages and of being packaged in a lot of distros)?
-
CodeCounter written in C
Cool! Is there a benefit over using CLOC or is this simply your „pet project“?
-
Retrieve lines from a GitHub repo by a command
If you use cloc, you can count code without empty lines and comments.
-
Neofetch for Git repository
I personally use cloc but there's also a list of other counters here
- Mako – a full Bitcoin implementation in C
-
What text editor do you use?
FYI, cloc gives a total of 67057 lines of code for kakoune (91577 line counting blanks and comments). Can you give more details on how you obtained 200k ?
- Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
k3s
-
Linux fu: getting started with systemd
For self-hosting I've found https://k3s.io to be really good from the SUSE people. Works on basically any Linux distro and makes self-hosting k8s not miserable.
-
Nix is a better Docker image builder than Docker's image builder
Yes it’s going to depend on which k8s distribution you’re using. We have work in-progress for k3s to natively support nix-snapshotter: https://github.com/k3s-io/k3s/pull/9319
For other distributions, nix-snapshotter works with official containerd releases so it’s just a matter of toml configuration and a systemd unit for nix-snapshotter.
We run Kubernetes outside of NixOS, but yes the NixOS modules provided by the nix-snapshotter certainly make it simple.
-
15 Options To Build A Kubernetes Playground (with Pros and Cons)
K3S: is a lightweight distribution of Kubernetes that is designed for resource-constrained environments. It is an excellent option for running Kubernetes on a virtual machine or cloud server.
- FLaNK 25 December 2023
-
K3s Traefik Ingress - configured for your homelab!
I recently purchased a used Lenovo M900 Think Centre (i7 with 32GB RAM) from eBay to expand my mini-homelab, which was just a single Synology DS218+ plugged into my ISP's router (yuck!). Since I've been spending a big chunk of time at work playing around with Kubernetes, I figured that I'd put my skills to the test and run a k3s node on the new server. While I was familiar with k3s before starting this project, I'd never actually run it before, opting for tools like kind (and minikube before that) to run small test clusters for my local development work.
- Best way to deploy K8s to single VPS for dev environment
-
Single docker compose stack on multiple hosts. But how?
Kubernetes - k3s distribution
-
Building a no-code Helm UI with Windmill - Part 1
I’ve created a local cluster with K3S and installing Windmill could not be simpler with just one chart to configure, which already has sane defaults to get started. For this demo we will also configure workers to passthrough environment variables to our scripts so that they have access to the Kubernetes API server for later.
-
Highly scalable Minecraft cluster
You should be familiar with Kubernetes and have set up a Kubernetes cluster. I recommend k3s.
-
K3s – Lightweight Kubernetes
K3s' go.mod[0] is insane.
What are some alternatives?
k0s - k0s - The Zero Friction Kubernetes
kubespray - Deploy a Production Ready Kubernetes Cluster
Nomad - Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
microk8s - MicroK8s is a small, fast, single-package Kubernetes for datacenters and the edge.
Docker Compose - Define and run multi-container applications with Docker
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
kops - Kubernetes Operations (kOps) - Production Grade k8s Installation, Upgrades and Management
podman - Podman: A tool for managing OCI containers and pods.
Portainer - Making Docker and Kubernetes management easy.
k3d - Little helper to run CNCF's k3s in Docker
nerdctl - contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...
tokei - Count your code, quickly.