etc

Things that are too small to keep in a separate repo, but too important not to version them. (by rollcat)

Etc Alternatives

Similar projects and alternatives to etc

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better etc alternative or higher similarity.

etc reviews and mentions

Posts with mentions or reviews of etc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-25.
  • Starship.rs: minimal, fast prompt for any shell
    6 projects | news.ycombinator.com | 25 Jan 2024
    Since this is now a share your prompt thread, here's mine:

    https://github.com/rollcat/etc/tree/master/cmd/prompter

    It's quite portable (didn't test on Windows though); ~170 lines of Go; no dependencies outside of stdlib; calls no external commands; supports SSH, git, Docker, nix, and virtualenv; extremely simple to hack on.

  • What is in that .git directory?
    3 projects | news.ycombinator.com | 7 Oct 2023
    It's fairly easy to grab info from .git for your own purposes. For example, the program that generates my PS1 peeks there (without wasting precious cycles on shelling out to the git command) to find the current branch we're on:

    https://github.com/rollcat/etc/blob/b2fd739/cmd/prompter/mai...

  • Pure Bash Bible
    13 projects | news.ycombinator.com | 8 Aug 2023
    Depends on what you're trying to do. If you're shelling out to git(1) or docker(1), rather than e.g. recursively checking for the presence of .git in parent directories, or inspecting ~/.docker/config.json, then the fork+exec overhead is already quite significant. Next if you're parsing ~/.docker/config.json in shell, you're most likely either asking for trouble or (again) shelling out to jq. Writing it all in an interpreted language means you're paying the cost of interpreter startup, which on underpowered systems can take hundreds of milliseconds even when idle. OTOH loading a static binary to memory happens only once, and with Go you can trivially cross-compile.

    I also have a fallback shell one-liner, without any of the fanciness like displaying the current git branch:

    https://github.com/rollcat/etc/tree/master/cmd/prompter#i-li...

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 2 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic etc repo stats
3
1
4.4
10 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com