platformdirs
boxxy
platformdirs | boxxy | |
---|---|---|
3 | 10 | |
494 | 1,222 | |
2.6% | - | |
8.1 | 8.6 | |
2 days ago | 4 days ago | |
Python | Rust | |
MIT License | 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.
platformdirs
-
GrandTourer – a CLI tool for easily launching applications on macOS
Also, I saw that you're trying to find the app locations yourself. You may wanna use this instead: https://github.com/platformdirs/platformdirs
-
Use the XDG Base Directory Specification
Start with pythons “projectdirs”, which refuses to allow mac systems to use XDG or at least have that option.
https://github.com/platformdirs/platformdirs/issues/4
-
Help with yt-dlp config setup (mac)
I did my own research on what XDG_CONFIG_HOME means within macOS when setting up yt-dlp for macOS 13 (Ventura) but I couldn't find a very definitive answer. I found a thread on GitHub where someone says "Apple does not follow the XDG spec, so at best what I've seen is people roughly mapping it..." and that goes down too deep a rabbit hole for me.
boxxy
-
What is the most useful project you've ever worked on?
I made a tool to control where Linux applications put their files via bind mounts and environment variables: https://github.com/queer/boxxy
I've heard that it's made it as far as university HPC clusters to help control iffy code written by students; I'm glad I managed to make that stuff a bit easier for the people operating them.
-
Show HN: peckish, a CLI/Rust library for Linux package manipulation
This is a tool I’ve been working on for the last ~6 months. It was born out of frustration trying to package boxxy[1] for different distros.
This was originally to be presented at RustConf 2023 in a few days, under the talk “Repackage the World!,” but unfortunately my health took a sudden turn for the worse and I’m no longer able to give the talk.
peckish IS NOT a replacement for distro-specific packaging tools, and its packages WILL NOT be compliant with every distribution’s standards for packages.
peckish IS:
- a way to make a quick-and-dirty packages for distributing a program
- a CLI/library for manipulating the contents of Linux packages
The core abstraction is an in-memory filesystem behind an async std::fs-like facade[2], allowing packages to be manipulated with more-intuitive random-access I/O instead of putting up with (nested) streaming archive formats. This facade also is used for ex. enabling easier archive manipulation[3], a library for copying between facade implementations[4], and more. This bets that most packages will never be larger than memory, which in my testing is a safe bet even with Docker images as inputs.
Sorry for adding more YAML to the world :P
[1] https://github.com/queer/boxxy
[2] https://github.com/queer/floppy-disk
[3] https://github.com/queer/flop
[4] https://github.com/queer/disk-drive
-
Temporary symlink in shell - "named process substitution" - rename a file without creating a copy/symlink on the disk?
boxxy
-
Is there a way to prepend a command for every slurm job submitted?
I am not sure if you know boxxy: it is a handy tool that uses linux userspace namespaces to wrap requests for a file to a proper (configurable) location.
-
Use the XDG Base Directory Specification
macOS + systemd? If on Linux this tool allows you to move config dir and file locations transparently. Pretty neat. https://github.com/queer/boxxy
- Show HN: boxxy – Control where Linux programs put files, without symlinks
What are some alternatives?
xdg-ninja - A shell script which checks your $HOME for unwanted files and directories.