Posts
"llamamp". A .ogg player... and a winamp clone.
This is basically "winamp, but it plays (exclusively) .ogg files instead and is heavily optimized to provide the lowest CPU usage possible" -- there's an equalizer, playlist, a volume bar. A feature that minimizes CPU use when the application is on the foreground. And yes, the graph does work and is perfectly syncronized with the song. And all you see here are purely made of code -- no .png or .bmp files included, don't worry about it. And logically, no need to run wine or some other shoddy translation layer -- it all runs natively on your PC.
CPU usage is comically low, as you can see here (tested on a orange pi 5 max):
To unpack the file, download dependencies and compile (on a debian distro, while in the same directory as where the llamamp.tar.gz file has been downloaded): tar -xf llamamp.tar.gz && sudo apt install -yq build-essential pkg-config libsdl2-dev && make -j$(nproc). Install it with sudo make install.
Compatibility: Pretty much anything you've got. It runs on X11, wayland or on nothing at all.
How to use it: Run "llamamp /path/to/song.ogg" or use the playlist.
"win95run". The "0% CPU use" application launcher*.
* YMMY obviously -- it'll be different if you run this on a literal potato. But it do be like that on a orange pi 5 max, however: https://i.imgur.com/WiKaszO.png
This nice little piece of software is the perfect mix between "I want to run something cool whilst at the same time something that is effective and runs everywhere" -- a Windows 95-themed application launcher that runs on either X11 or wayland (or even on nothing at all!) and provides all possible binaries on your distro from a list... which you can scroll up and down using your mouse scroll wheel or by clicking on the scroll bar (Yes, it works just like the one on Windows 95). Or you can type something, get a couple suggestions up and run the binary you want by either pressing enter or by double-clicking with the left mouse button.
That [X] over there? If you click it, it'll shut down the application window. Or you can press ESC.
Also, no .png, .ttf files or anything of the sort -- all the things you are seeing are purely made of code.
To get you a working binary, simply download the provided tarball on the link above (which I made it like that due to some folks finding it easier than repository cloning, so eh)... unpack it. Download the required dependencies (Type "sudo apt install -yq build-essential libsdl2-dev make" if you are on Debian), then type "sudo make -j$(nproc) && sudo make install" and then type "win95run".
This is under the "DO WHATEVER YOU WANT" license. Should be self-explanatory.
"Hackdash" -- A multipurpose dashboard.
Features: A dashboard that shows the current weather, a stock market feed, a "automatic" rss reader, a basic system monitor, a process tree, an app launcher... and also a jazz radio. While also providing a nice "matrix-like" aesthetic. In a nutshell: your "nerd's wet dream" you never knew you needed... until now.
"zOMG that is going to have horrendous CPU and memory usage!"
Guess what? Nope.
(Yep, that's the CPU usage of this nice little piece of software on a orange pi 5 max.)
Also, it works on pretty much anything -- may it be X11, wayland... or nothing at all. Yes, I love y'all as well, distro hoppers. :')
To download dependencies: "sudo apt install -yq curl ffmpeg build-essential libsdl2-dev make" if you are on Debian.
Controls are very KISS: Left and right arrow keys to switch between stock feeds (and you -really- don't need to do that since it switches automatically every three seconds, but I implemented it anyways since you really need to focus on one. You can press space to stop it from automatically switching however.) Up/down arrow keys (or left mouse clicks) to fiddle with the process tree. Press k to terminate a process and shift+k to force kill a process. J to play the radio. +/- to increase/decrease volume. n to change to the next station. Tab to focus on the mini app launcher -- type something, press enter to run or left clicks/up,down arrow keys to focus on a suggestion. Press enter or mouse double left clicks to run. Press ESC to leave the mini app launcher.
To compile it: After downloading all dependencies and unpacking the tarball, type "make -j$(nproc)" to create the binary. Then "./hackdash" to run it.
To "install" it: Copy the binary to its relevant directory with "sudo cp hackdash /usr/local/bin/.".
Hope y'all have lots of fun with it as much as I did on coding (and running) this beautiful baby of mine.
"notasysmon" -- A btop-inspired yet minimal system monitor.
- What it is
A "works on whatever I throw this in" solution as a system monitor (SDL 2= works on both wayland and X11. Plus, it doesn't even need a window manager to run -- which is breddy gucci.). It has a pretty rough memory usage (10 times as much compared to btop), but its CPU usage compensates for it.
- Who is this for
Mainly distro hoppers.
- Why
Because "it just werks" and is "futureproof"'ish -- might last a couple decades before it gets irrelevant.
-
Dependencies
Debian/Ubuntu : sudo apt install build-essential libsdl2-dev
Fedora : sudo dnf install gcc make SDL2-devel
Arch : sudo pacman -S base-devel sdl2
Alpine : sudo apk add build-base sdl2-dev
macOS : brew install sdl2
FreeBSD : pkg install sdl2 gmake
-
How to compile
After decompressing the tarball and downloading the dependencies,
make -j$(nproc)
Then run with
./notasysmon
That should do it. For more info, check the "README.md" file.
"notwin95" -- A minimal application launcher.
- What it is
A minimal, windows 95-esque application launcher... with fancy directory icons over binary name suggestions, mouse support (you can doubleclick a binary name to run it) and a real-time clock on the far lower right.
- Why
Nostalgia... and a "futureproof" likeness (If both X11 and wayland gets ditched/replaced for whatever reason... this will still work as intended.). Also, due to how it works on both X11 and wayland regardless of whatever you have installed. Yes, distro hoppers -- I heard your plea. :')
- Dependencies
Type "sudo apt install build-essential libsdl2-dev" if you are on Debian/ubuntu
- How to compile
After downloading and extracting the tarball,
make -j$(nproc)
It'll create a "notwin95" binary.
Then run it with ./notwin95.
- How to install
Type "sudo cp notwin95 /usr/local/bin/.".
- Commands
Arrow keys (up/down/left/right) or mouse left click to navigate between suggestions. Press enter (or mouse double left click) to run a binary. Press ESC to quit.
- Notes
I've tested this on a orange pi 5 max and the CPU usage was pretty much nil. So I'm sure all of you will have no problems/issues running it.
- License
This is under the "DO WHATEVER YOU WANT" license. Should be self-explanatory.
-EDIT- I forgot to mention this -also- can be run outside the window manager.
Unofficial wayland version of "DOSBox-Pure-Unleashed". With performance tweaks.
re-publicado de: https://lemmy.world/post/51923222
- What it is
From duckduckgo:
"DOSBox Pure Unleashed is a standalone, free, and open-source emulator for desktop platforms (Windows, macOS, and Linux) designed to simplify the experience of playing classic MS-DOS games. Developed by Psyraven and released under the GNU General Public License, it serves as a user-friendly fork of the original DOSBox, originally evolving from a core used in RetroArch."
- Why
Due to significant performance improvements over X11, a more aggressive CPU/GPU usage compared to its "vanilla" version. Note: You'll have to lower CPU cycles and overall performance if you are on a beefy PC -- this has been made with the "potato PC" (read: raspberry pizero) in mind. Which means, it'll crank both CPU and GPU usage all the way (possible) to the top.
The required dependencies are: "sudo apt install
build-essential
g++
make
libsdl2-dev
libgl1-mesa-dev
libasound2-dev
libpulse-dev
libwayland-dev
libxkbcommon-dev
libegl1-mesa-dev
libgles2-mesa-dev" if you are on debian.One-time config after extract:
cp ZillaLib/Linux/ZillaAppLocalConfig.mk.example
ZillaLib/Linux/ZillaAppLocalConfig.mkThen edit "ZillaAppLocalConfig.mk" accordingly (should be self-explanatory):
EXTERNAL_SDL2_INCLUDE = /usr/include/SDL2
EXTERNAL_SDL2_SO = /usr/lib/x86_64-linux-gnu/libSDL2.so
(use aarch64-linux-gnu on ARM64)
How to compile:
Extract the tarball. Then,
cd dosbox-pure-unleashed
make linux-release -j$(nproc)
After the compilation is complete,
export SDL_VIDEODRIVER=wayland ./Release-linux/DOSBoxPure_*
- How to install
Simply copy the built binary to /usr/local/bin/. or to any directory you'd like.
- Notes
I've tested this on a orange pi 5 max and everything works as intended. The results may differ on your PC, so keep that in mind.
Unofficial wayland version of "DOSBox-Pure-Unleashed". With performance tweaks.
- What it is
From duckduckgo:
"DOSBox Pure Unleashed is a standalone, free, and open-source emulator for desktop platforms (Windows, macOS, and Linux) designed to simplify the experience of playing classic MS-DOS games. Developed by Psyraven and released under the GNU General Public License, it serves as a user-friendly fork of the original DOSBox, originally evolving from a core used in RetroArch."
- Why
Due to significant performance improvements over X11, a more aggressive CPU/GPU usage compared to its "vanilla" version. Note: You'll have to lower CPU cycles and overall performance if you are on a beefy PC -- this has been made with the "potato PC" (read: raspberry pizero) in mind. Which means, it'll crank both CPU and GPU usage all the way (possible) to the top.
The required dependencies are: "sudo apt install
build-essential
g++
make
libsdl2-dev
libgl1-mesa-dev
libasound2-dev
libpulse-dev
libwayland-dev
libxkbcommon-dev
libegl1-mesa-dev
libgles2-mesa-dev" if you are on debian.
One-time config after extract:
cp ZillaLib/Linux/ZillaAppLocalConfig.mk.example
ZillaLib/Linux/ZillaAppLocalConfig.mk
Then edit "ZillaAppLocalConfig.mk" accordingly (should be self-explanatory):
EXTERNAL_SDL2_INCLUDE = /usr/include/SDL2
EXTERNAL_SDL2_SO = /usr/lib/x86_64-linux-gnu/libSDL2.so
(use aarch64-linux-gnu on ARM64)
How to compile:
Extract the tarball. Then,
cd dosbox-pure-unleashed
make linux-release -j$(nproc)
After the compilation is complete,
export SDL_VIDEODRIVER=wayland ./Release-linux/DOSBoxPure_*
- How to install
Simply copy the built binary to /usr/local/bin/. or to any directory you'd like.
- Notes
I've tested this on a orange pi 5 max and everything works as intended. The results may differ on your PC, so keep that in mind.
"Lonepalmtree" -- a (software) raytracing demo of a lone palmtree on an island. For ARM devices.
A demo of a lone palmtree on an island, with a fps counter on the top left. The camera moves around freely, but can be interacted by zooming in or out. It has a day/night cycle of 5 minutes... with the shadow following along the sun/moon. It also has a soothing sea sound, plus the eventual seagull. If you want to make your ARM device "explode", this is it. Focuses on GPU usage.
Download dependencies (Debian): sudo apt install build-essential libsdl2-dev libvulkan-dev glslc
Requirements:
Vulkan 1.2
SDL 2
A GPU with compute shaders support
Keys:
Reduce render resolution with -, and + to increase it.
Zoom in with mouse scroll wheel up. And out with mouse scroll wheel down.
How to compile:
Download the tar file provided in the link above.
Decompress it
Download the required dependencies
Enter the decompressed directory
make -j$(nproc)
Then run it by typing ./lonepalmtree
Playing Mina the Hollower on a Orange pi 5 MAX, full speed, no stuttering -- feels comfy af
cross-posted from: https://lemmy.world/post/47849643
Pretty sure most of you will drop a "Well, duh -- that's pretty much a NES game"... which is true, yes. A NES game with plenty of layers (FEX > x86_64 to arm > wine > Directx 12, if my memory serves me right) and the fact that vulkan support is "meh", but still very limited (What you are seeing is pure opengl) makes this a very significant accomplishment. This is not the only game that can run on it -- even Metro 2033 (linux native version) can run quite in an acceptable framerate (10'ish FPS, worst case scenario), and the fact that this is run on a device that barely sips the 10 watts mark... makes this feel very "I'm in the future"-kind of thing.
Oh, and the ingame res is odd like that due to the wacky panfrost support (its gpu "drivers") but its 100% fine when I remove all these terminal windows.
Playing Mina the Hollower on a Orange pi 5 MAX, full speed, no stuttering -- feels comfy af
Pretty sure most of you will drop a "Well, duh -- that's pretty much a NES game"... which is true, yes. A NES game with plenty of layers (FEX > x86_64 to arm > wine > Directx 12, if my memory serves me right) and the fact that vulkan support is "meh", but still very limited (What you are seeing is pure opengl) makes this a very significant accomplishment. This is not the only game that can run on it -- even Metro 2033 (linux native version) can run quite in an acceptable framerate (10'ish FPS, worst case scenario), and the fact that this is run on a device that barely sips the 10 watts mark... makes this feel very "I'm in the future"-kind of thing.
Oh, and the ingame res is odd like that due to the wacky panfrost support (its gpu "drivers") but its 100% fine when I remove all these terminal windows.
ttymenu. A dependency-free dmenu clone for the TTY.
The code can be found by clicking here. Then save it as ttymenu.c and compile this with "gcc ttymenu.c -o ttymenu -O3 -Wall -static (-Bstatic if you are on macos)".
mini95. A minimal, "almost" dependency-free dmenu clone. With a Windows 95 theme.
The code can be found by clicking here. Save it as mini95.c, then compile this with "gcc mini95.c -lX11 -o mini95".
Now introducing "haxx", a nonsense hacking generator.
Gives you a bollywood experience right into your terminal, with more than 1000 ips simulated! An INFINITE amount of simulated names! Over 100 different types of glitches! An overly dramatic hack, just like seen in the movies! And more (If you -REALLY- have a lot of time to spend staring at this command.)
Click here to grab the C code, followed by instructions on how to compile it.
"tm". Todo manager on the CLI for potatoes.
(The date + clock and the menu can be hidden via a toggle for extra flexibility and space. They are in the screenshot just to show em off.)
Manage your to-do tasks in a compact, slick and straightforward manner.
Includes a built-in clock for an extra flex.
Click here to grab the code and compile it with "gcc tm.c -o tm -static -O2". And then type "sudo mv tm /usr/local/bin/." to send the binary into the user binary directory. To run it, simply type "tm".
This code, alongside all my codes are under the "Do Whatever You Want" license. Modify this, sell it using a different name, whatever you want -- I don't care.
"YTS" -- search youtube inside the CLI -and- watch videos in mpv! 100% portable and minimal.
Imagine a world where you could browse -and- watch youtube without using a graphical software or a web browser.
Guess what? Now you can.
With this nifty, minimal and 100% portable piece of software, you can now watch the best youtube has to offer without compromising your potato or waiting several minutes (!) for a video to appear on your screen.
The only caveat is that you need to install mpv.
And nothing else.
The code, alongside instructions on how to compile it can be found by clicking here.
"Procbal" -- dynamic process resource manager.
Dynamically prioritizes CPU or memory access out of a given command.
Can be run as a non-root user.
Instructions on how to compile and usage are provided inside the code right here.
-EDIT- Just improved the code with improved nice sorting, detection and configuration.
"Work!". A "genact-esque" nonsense generator. [CLI command]
Makes you pretend you are working for NASA or for the FBI.
Instructions on how to compile the code and everything else can be found inside the code right here.