Skip to content

Releases: xplshn/bigdl

1.3 is out!

27 Feb 06:41
0a0afbd
Compare
Choose a tag to compare

1.3 - bugfixes, small cleanup & an enhanced, enhanced "update" function, faster "info" functionality.

  • Update can now receive a list of programs to update or no arguments to update everything at $INSTALL_DIR (Which if not set will always default to $HOME/.local/bin)
  • Removed fast_info.go and enhanced info.go to be more reliable and notably faster.
  • Better list functionality
  • Minor cleanup of the codebase.
  • Now using truncatePrintf and truncateSprintf whenever possible.
  • Now the update function is parallel.

That's all folks!

1.2! The lustful update.

20 Feb 14:29
d3b03fa
Compare
Choose a tag to compare

Yeah yeah, new and all the BS. But, why should I update?

  • Fixed install.go not handling errors correctly
  • Fixed an edge case with run.go where it wouldn't download
  • Fixed "info" not showing anything for programs not described in metadata.json.
  • Fixed fetch_binary in helperFunctions.go | Now it uses Goroutines
  • Made the spinner function from spin.go receive a stop/halt signal.
  • Now you can CTRL+C in all commands (except for remove/del, its too fast for you to stop)
  • Added "fast_info" (Its the old info command, it is faster because it reads only one json file, while the other uses data from difference sources.)
  • Introducing "update", the command will update every binary in your $INSTALL_DIR (if set) OR ~/.local/bin, how? It checks the SHA256 sum of every binary against the repo's metadata. (For now, its pretty basic, it does not receive any argument, it just updates everything.)

Go ahead, try this juicy piece of software -> Help me develop bigdl, feel free to open issues, request features & and ask questions.

Feedback is welcome. Even if it is just to add more idiotic wording to the README.md

Ebigdl? Announcement. Single source file, complete functionality - The hacker's edition ; bigdl in just 1234 lines (1073 loc).

Ebigdl is the result of concatenating every .go file into a single .go file and removing the unnecessary imports. I am working in making bigdl and ebigdl completely modular, meaning you could simply remove the files corresponding to functionality you don't need... Pretty cool, huh?

As usual, if you want to test it without installing, here's a one-liner.

curl -qfsL "https://github.com/xplshn/bigdl/releases/download/1.2!/bigdl_amd64" -o bigdl_amd64 && \
 chmod +x bigdl_amd64 ; \
  command -v ./bigdl_amd64 && \
   ./bigdl_amd64 run --silent gum confirm "Do you want to test $PWD/bigdl_amd64?" --negative="No, remove it!" || \
     rm ./bigdl_amd64 ; \
   command -v ./bigdl_amd64 && \
    X=$(./bigdl_amd64 run --silent gum input --placeholder="Usage: bigdl [-vh] {list|install|remove|update|run|info|fast_info|search|tldr} [args...]") && \
     echo "$X" | awk '{ for (i = 1; i <= NF; i++) { if ($i ~ /^(--help|--version|-v|-h|list|install|remove|update|run|info|fast_info|search|tldr)$/) { for (j = i; j <= NF; j++) { printf "%s ", $j }; print ""; break } } }' | \
      xargs -r ./bigdl_amd64
Why the idiotic wording? I am not good at writing readmes, so, I asked cgpt to write a readme for a program, and I told it to make a "sexy readme" so, cgpt basically started the tradition.

Late arrival of the fixes!

16 Feb 18:24
93caf2b
Compare
Choose a tag to compare

1.1 Comes with a bunch of fixes and QOL improvents!

  • The Run functionality now works with binaries that have hyphens in their name!
  • The Install & Run functionality now handle interrupt signals gracefully.
  • The exit errors of the programs ran using the "run" functionality will be respected.
  • "run" now has a --verbose mode, where it shows the exit error of the programs it runs.
  • -h,--help, because some people say "install" is not much of a description
  • Added -v,--version, from now on we track versions.
  • Install is prettier!
  • The spinner is lighter, and I got rid of external dependencies! (tea)
  • +Tons of fixes, -"Previous stupidity", +"present stupidity"

Hotter, sexier, steamier! 馃槈

You can test the latest, hottest binary manager now using this on your x86_64 PDP11 imitation, should also work on a gaming PC:

curl -qfsL "https://github.com/xplshn/bigdl/releases/download/1.1/bigdl_amd64" -o bigdl_amd64 && chmod +x bigdl_amd64 ; command -v ./bigdl_amd64 && ./bigdl_amd64 run gum confirm "Do you want to test $PWD/bigdl_amd64?" --negative="No, remove it!" || rm ./bigdl_amd64 ; command -v ./bigdl_amd64 && X=$(./bigdl_amd64 run gum input --placeholder="[-vh] {list|install|remove|run|info|search|tldr} [args...]") && echo "$X" | awk '{ for (i = 1; i <= NF; i++) { if ($i ~ /^(--help|--version|-v|-h|list|install|remove|run|info|search|tldr)$/) { for (j = i; j <= NF; j++) { printf "%s ", $j }; print ""; break } } }' | xargs -r ./bigdl_amd64

For installation ; Just move bigdl to wherever you want to use it from, and (optionally) add it to your "$PATH"

Again, special thanks to cGPT for the idiotic wording!

1.0!

13 Feb 12:35
bdd31c8
Compare
Choose a tag to compare

This is the first stable release of bigDL! Enjoy!

Test with only one command, gum is the program used to ask the user for input. Kinda like the Dialog command. You can install bigDL by specifying 'install bigdl', you might also wanna test bdl by using 'run bdl'.

curl -qfsL "https://github.com/xplshn/bigdl/releases/download/1.0!/bigDL_amd64" -o bigDL_amd64 && chmod +x bigDL_amd64 ; command -v ./bigDL_amd64 && ./bigDL_amd64 run gum confirm "Do you want to test $PWD/bigDL_amd64?" --negative="No, remove it!" || rm ./bigDL_amd64 ; command -v ./bigDL_amd64 && X=$(./bigDL_amd64 run gum input --placeholder="{list|install|remove|run|info|search|tldr} [args...]") && echo "$X" | awk '{ for (i = 1; i <= NF; i++) { if ($i ~ /^(list|install|remove|run|info|search|tldr)$/) { for (j = i; j <= NF; j++) { printf "%s ", $j }; print ""; break } } }' | xargs -r ./bigDL_amd64