directories-rs
xdg-go
Our great sponsors
directories-rs | xdg-go | |
---|---|---|
5 | 4 | |
693 | 577 | |
4.8% | - | |
4.0 | 6.7 | |
7 months ago | 22 days ago | |
Rust | Go | |
Apache License 2.0 | 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.
directories-rs
-
Rip – Rust crate to resolve and install Python packages
There are even libraries for that!
https://github.com/dirs-dev/directories-rs
-
Use the XDG Base Directory Specification
At least for rust applications of your own, you can use the library https://github.com/dirs-dev/directories-rs to follow XDG on Linux as well as platform conventions on Mac and Windows.
-
[ANN] Released `config-finder`, a crate to easily help your CLI app find all its config files
I suppose I shouldn't be surprised to see this pop up about two weeks after there was no response to this reply on #47: Support for using ~/.config on Mac for command line apps on directories-rs:
- "directories" crate version 4.0.0 broken on MacOS
xdg-go
- $Home, Not So Sweet $Home
-
Rob Pike: “Dotfiles” being hidden is a UNIXv2 mistake (2012)
Slight correction here, XDG keys are analogous to Windows standards: https://github.com/adrg/xdg/blob/master/README.md
-
Seeking input on wallpaper utility
Annoyingly enough, while you claim to use XDG_CONFIG_HOME, you're only using $HOME/.config which is what it defaults to but not what the user might have set. Use os.Getenv("XDG_CONFIG_HOME") or similar functions to get the directory that the user have actually set to. You could also just use this package
-
Generic path to Documents folder for every user?
Perhaps use packages like https://github.com/adrg/xdg, that do the magic also for all operating systems.
What are some alternatives?
dirs - a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows
Golang-PDF-to-Image-Converter - This project will help you to convert PDF file to IMAGE using golang.
rattler - Rust crates to work with the Conda ecosystem.
zb - an opinionated repo based tool for linting, testing and building go source
boxxy - boxxy puts bad Linux applications in a box with only their files.
Peanut - 🐺 Deploy Databases and Services Easily for Development and Testing Pipelines.
xdg-ninja - A shell script which checks your $HOME for unwanted files and directories.
golang-tutorials - Golang Tutorials. Learn Golang from Scratch with simple examples.
config-finder-rust - Rust crate to easily find config files and directories for your CLI application
go-wkhtmltopdf - Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface
platformdirs - A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
depth - Visualize Go Dependency Trees