go-nanoid
snips.sh
go-nanoid | snips.sh | |
---|---|---|
4 | 6 | |
422 | 959 | |
- | - | |
3.7 | 6.4 | |
about 1 month ago | 8 days ago | |
Go | Go | |
GNU General Public License v3.0 only | 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.
go-nanoid
-
snips.sh: passwordless, anonymous SSH-powered pastebin
Using jaevor/go-nanoid for those short IDs. With a ID length of 10 it'll take about ~17 years to have ~1% chance of collision.
- Which UUID package do you use? and why?
-
rs-nanoid: efficient NanoID generation in Rust
With criterion benchmarking, nanoids of length 255 average about 101ns to generate, whereas in my Go implementation they take over 470ns. I know this is just benchmarking and only nanoseconds, but it's nice to have a comparison.
- Very efficient Nano ID gen in Go
snips.sh
-
Create and share code snippets from your code editor with snips.nvim : https://github.com/Sanix-Darker/snips.nvim/tree/master
it's snips.sh behind the scene.
- Snips
- Snips.sh: SSH-powered pastebin with human-friendly TUI and web UI
-
snips.sh: passwordless, anonymous SSH-powered pastebin
The dockerfile has all of the commands you need to build and run: https://github.com/robherley/snips.sh/blob/main/Dockerfile
What are some alternatives?
uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
lssh - List selection type ssh/scp/sftp client command. Supports single connection and parallel connection. Local bashrc can also be used without placing it on a remote machine. Written in Golang.
nanoid - A tiny and fast Go unique string generator
litestream - Streaming replication for SQLite.
uuid - A UUID package originally forked from github.com/satori/go.uuid
dbui - Universal Database CLI for MySQL, PostgreSQL, and SQLite. Terminal User Interface Application.
nanoid - A tiny (124 bytes), secure, URL-friendly, unique string ID generator for JavaScript
clidle - Play Wordle over SSH.
sonyflake - A distributed unique ID generator inspired by Twitter's Snowflake
bubbletea - A powerful little TUI framework 🏗
rs-nanoid - Nano ID in Rust -- most efficient and fast unique ID generation.