bu VS awesome-selfhosted

Compare bu vs awesome-selfhosted and see what are their differences.

bu

B)asic|But-For U)tility Code/Programs (in Nim & Often Unix/POSIX/Linux Context) (by c-blake)

awesome-selfhosted

A list of Free Software network services and web applications which can be hosted on your own servers (by awesome-selfhosted)
InfluxDB - Power Real-Time Data Analytics at Scale
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
bu awesome-selfhosted
16 765
52 179,468
- 2.5%
9.2 8.7
6 days ago 4 days ago
Nim Makefile
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

bu

Posts with mentions or reviews of bu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • Nim
    5 projects | news.ycombinator.com | 6 Dec 2023
    I think Nim is great for small CLIs. Some examples are over at: https://github.com/c-blake/bu . To quantify "small", using tools themselves in bu/ (and Zsh *):

        wc -l --total=never **.nim|cols 1|cstats ms q.05 q.95
  • fdupes: Identify or Delete Duplicate Files
    13 projects | news.ycombinator.com | 2 Nov 2023
    200 lines of Nim [1] seems to run about 9X faster than the 8000 lines of C in fdupes on a little test dir I have. If you need C, I think jdupes [2] is faster as @TacticalCoder points out a couple of times here. In my testing, `dups` is usually faster than `jdupes`, though.

    [1] https://github.com/c-blake/bu/blob/main/dups.nim

    [2] https://github.com/jbruchon/jdupes

  • Things I've learned about building CLI tools in Python
    16 projects | news.ycombinator.com | 24 Oct 2023
    You better off with using a compiled language.

    If you interested in a language that's compiled, fast, but as easy and pleasant as Python - I'd recommend you take a look at [Nim](https://nim-lang.org).

    And to prove what Nim's capable of - here's a cool repo with 100+ cli apps someone wrote in Nim: [c-blake/bu](https://github.com/c-blake/bu)

  • Removing Garbage Collection from the Rust Language (2013)
    9 projects | news.ycombinator.com | 11 Sep 2023
    20 milliseconds? On my 7 year old Linux box, this little Nim program https://github.com/c-blake/bu/blob/main/wsz.nim runs to completion in 275 microseconds when fully statically linked with musl libc on Linux. That's with a stripped environment (with `env -i`). It takes more like 318 microseconds with my usual 54 environment variables. The program only does about 17 system calls, though.

    Additionally, https://github.com/c-blake/cligen makes decent CLI tools a real breeze. If you like some of Go's qualities but the language seems too limited, you might like Nim: https://nim-lang.org. I generally find getting good performance much less of a challenge with Nim, but Nim is undeniably less well known with a smaller ecosystem and less corporate backing.

  • The Awk book’s 60-line version of Make
    2 projects | news.ycombinator.com | 10 Sep 2023
    Often whole program generation in a prog.lang (& ecosystem!) that you already know can substitute for a new prog.lang. Python even has eval. You may be interested in: https://github.com/c-blake/bu/blob/main/doc/rp.md

    You can actually get pretty far depending upon boundaries with the always implicit command-option language (when launched from the shell language, anyway). For example, Ben's example can be adapted to:

        rp -m^\[A-Za-z\] 'echo nr," ",s[1]'
  • Learn GNU Awk with hundreds of examples and exercises
    4 projects | news.ycombinator.com | 28 Aug 2023
    You might consider: https://github.com/c-blake/bu/blob/main/doc/cols.md

    That's in Nim, though that may not be much a barrier. (There may also be other tools in bu/ of interest.)

  • GNU Parallel, where have you been all my life?
    19 projects | news.ycombinator.com | 21 Aug 2023
    This sounds like a job for what standard C calls "popen". You can do `import posix; for line in popen("ls", "r"): echo line` in Nim, though you obviously need to replace `echo line` with other desired processing and learn how to do that.

    You might also want to consider `rp` which is a program generator-compiler-runner along the lines of `awk` but with all the code just Nim snippets interpolated into a program template: https://github.com/c-blake/bu/blob/main/doc/rp.md . E.g.:

        ls -l | rp -pimport\ stats -bvar\ r:RunningStat -wnf\>4 r.push\ 4.f -eecho\ r
  • The Bipolar Lisp Programmer
    3 projects | news.ycombinator.com | 11 Aug 2023
    Nim is terse yet general and can be made even more so with effort. E.g., You can gin up a little framework that is even more terse than awk yet statically typed and trivially convertible to run much faster like https://github.com/c-blake/bu/blob/main/doc/rp.md

    You can statically introspect code to then generate related/translated ASTs to create nearly frictionless helper facilities like https://github.com/c-blake/cligen .

    You can do all of this without any real run-time speed sacrifices, depending upon the level of effort you put in / your expertise. Since it generates C/C++ or Javascript you get all the abilities of backend compilers almost out of the box, like profile-guided-optimization or for JS JIT compilation.

  • Ask HN: Why did Nim not catch-on like wild fire as Rust did?
    16 projects | news.ycombinator.com | 25 Jun 2023
    I don't know about all your other questions, but the https://github.com/c-blake/cligen CLI framework seems much lower effort / ceremony than even Rust's `argh` and is just about as old as `clap` (both started 8 years ago in 2015).

    There are over 50 CLI utilities at https://github.com/c-blake/bu, many of which do something novel rather than just "re-doing ls/find/cat with a twist". While they are really more an "ls/ps construction toolkits" with some default configs to get people going, I think https://github.com/c-blake/lc and https://github.com/c-blake/procs are nicer than Rust alternatives. I mention these since you seem interested in such tools.

  • Self Hosted SaaS Alternatives
    17 projects | news.ycombinator.com | 5 Mar 2023
    You are welcome. Thanks are too rarely offered. :-)

    You may also be interested in word stemming ( such as used by snowball stemmer in https://github.com/c-blake/nimsearch ) or other NLP techniques, but I don't know how internationalized/multi-lingual that stuff is, but conceptually you might want "series of stemmed words" to be the content fragments of interest.

    Similarity scores have many applications. Weights on graph of cancelled downloads ranked by size might be one. :)

    Of course, for your specific "truncation" problem, you might also be able to just do an edit distance against the much smaller filenames and compare data prefixes in files or use a SHA256 of a content-based first slice. ( There are edit distance algos in Nim in https://github.com/c-blake/cligen/blob/master/cligen/textUt.... as well as in https://github.com/c-blake/suggest ).

    Or, you could do a little program like ndup/sh/ndup to create a "mirrored file tree" of such content-based slices then you could use any true duplicate-file finder (like https://github.com/c-blake/bu/blob/main/dups.nim) on the little signature system to identify duplicates and go from path suffixes in those clusters back to the main filesystem. Of course, a single KV store within one or two files would be more efficient than thousands of tiny files. There are many possibilities.

awesome-selfhosted

Posts with mentions or reviews of awesome-selfhosted. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-13.
  • Self-Hosted Is Awesome
    6 projects | news.ycombinator.com | 13 Apr 2024
  • Browse Self-Hosted Software
    3 projects | news.ycombinator.com | 4 Apr 2024
    None of these lists ever seem to be as fleshed out, up to date, or well organized as https://github.com/awesome-selfhosted/awesome-selfhosted , though imo any more attention on the self hosted scene is awesome. We're now self hosting everything at my co-op, and it's a dream. Saves us money, provides learning opportunities, potentially is getting us work (managed hosting providers asking if we can be a devshop for their clients, for example), and lets us give back to the FOSS community as we uncover bugs.

    We use:

    * Matrix / Synapse for comms (slack alternative) (managed hosting through etke.cc)

  • Home Lab Guide
    12 projects | news.ycombinator.com | 8 Mar 2024
    There are a ton of resources about HW aspects of home labs for beginners but not so much for what to run on them and why. There are lists like https://github.com/awesome-selfhosted/awesome-selfhosted but they are confusing for absolute beginners like me. Are there any good SE project guides you know?
  • Ente: Open-Source, E2E Encrypted, Google Photos Alternative
    23 projects | news.ycombinator.com | 1 Mar 2024
    This[1] seems like a well maintained repo.

    And thank you for the pointers, we'll try to get ourselves added here :)

    [1]: https://github.com/awesome-selfhosted/awesome-selfhosted

  • I turned my open-source project into a full-time business
    6 projects | news.ycombinator.com | 27 Feb 2024
    I've always felt like FOSS as a philosophy has been tangled up in trying to participate effectively in capitalism, when that was never really the point, nor really very possible unless you're lucky, nor really worth it. The origin of FOSS as I understand it from reading books like "Hackers" is from people that were mad that access was being restricted to systems and code from people that really wanted to use these systems and code, and hack them, and learn from them. I recall that one of the things Stallman likes to brag about from that time is not related to FOSS at all, but instead successfully decrypting a bunch of passwords, emailing the decrypted passwords to people, and recommending they instead set the password to an empty string instead. It was about keeping access to the system Free as in Beer.

    I suppose some have argued that FOSS represents a Public Commons in the way that fields and wells and physical markets used to, but none of those things survived capitalism, so I don't see why a technological commons should be expected to either.

    For me I've been thinking lately that perhaps those interested in FOSS should instead consider how we can use FOSS to detach ourselves from needing to participate in global capitalism at all. Is there FOSS technology we can use to liberate people from things they need to spend money on right now? An example could be the Global Village Construction Set: https://www.opensourceecology.org/gvcs/ a set of open source designs for things like hydraulic motors or microcombines or steam engines that you can build on your own, usually not for cheap, but for far, far cheaper than you could buy from John Deere. Here's another cool project, some guy has just been building things like solar panels and basic circuit boards on his property from very base components for years: https://simplifier.neocities.org/

    Some other FOSS liberation examples:

    Combining a tool like Jellyfin with Sonarr, Radarr, and etc, can liberate people from their 5 different media subscriptions. Or at least they can still buy DVDs and put them on Jellyfin to have the convenience of streaming with the media library of their own choosing.

    Deploying Matrix or another FOSS communication tool can let organizations have enterprise-level communication software without paying HUGE seat-based license fees to corporations like Slack.

    In fact there's many ways to liberate yourself from paid SaaS in this list: https://github.com/awesome-selfhosted/awesome-selfhosted at my co-op we self-host and deploy all our services for this reason, it saves us a TON of money.

    I don't have many other examples to mind because this is something I'm actively still researching. Friends in Venezuela though especially tell me how FOSS technology can liberate in ways I wouldn't expect here with my 64gb RAM machine with the latest processor, that I can easily replace components on on a whim. Such as how they can keep all their broken down machines pieced together from junkyards running pretty ok on various linux distros, and how they can sell creative work using free tools like gimp (no, really) or darktable. Like as not they'll just pirate software, though, but apparently FOSS often runs better on shitty hardware.

    Anyway my long term plan is to find or build more and more things that let people just not spend money on things anymore. That could be by making it easier to not have to throw things away anymore, or building tools to replace proprietary ones, or, idk, other ways I haven't thought of.

  • Stream to Chromecast with resolved, vlc and bash
    5 projects | news.ycombinator.com | 7 Jan 2024
    Dashboard in what sense? Is this what you had in mind or no?

    https://github.com/awesome-selfhosted/awesome-selfhosted#per...

  • Awesome-Selfhosted
    1 project | news.ycombinator.com | 2 Jan 2024
  • Ask HN: Favorite place to discover open source projects?
    1 project | news.ycombinator.com | 27 Dec 2023
    I often skim through various "awesome lists" (e.g. [1]) and communities interested in open source apps like r/selfhosted [2]

    [1] https://github.com/awesome-selfhosted/awesome-selfhosted

    [2] https://www.reddit.com/r/selfhosted/

  • Ask HN: How do I leave Dropbox
    2 projects | news.ycombinator.com | 14 Dec 2023
    1. https://nextcloud.com/ https://proton.me/drive https://github.com/awesome-selfhosted/awesome-selfhosted#fil...

    2. Download all data locally then upload elsewhere.

    3. https://help.dropbox.com/security/privacy-policy-faq#7.-How-...

  • Calling all ADHD entrepreneurs. How'd you do it? How do you make good on your responsibilities?
    2 projects | /r/irlADHD | 7 Dec 2023

What are some alternatives?

When comparing bu and awesome-selfhosted you can also consider the following projects:

NimForUE - Nim plugin for UE5 with native performance, hot reloading and full interop that sits between C++ and Blueprints. This allows you to do common UE workflows like for example to extend any UE class in Nim and extending it again in Blueprint if you wish so without restarting the editor. The final aim is to be able to do in Nim what you can do in C++

Technitium DNS Server - Technitium DNS Server

Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

ThePornDB.bundle - ThePornDB.bundle Plex Metadata Agent

ordiri

speedtest - Self-hosted Speed Test for HTML5 and more. Easy setup, examples, configurable, mobile friendly. Supports PHP, Node, Multiple servers, and more

OffensiveNim - My experiments in weaponizing Nim (https://nim-lang.org/)

focalboard - Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.

core - OPNsense GUI, API and systems backend

stash - An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc

tinycc - Unofficial mirror of mob development branch

porn-vault - 💋 Manage your ever-growing porn collection. Using Vue & GraphQL