All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Introducing json2dir: A Fast JSON-to-Directory Converter for Dotfile Management

By

alurm

9mo ago· 2 min readenCode

Summary

The article introduces json2dir, a JSON-to-directory converter designed as a fast alternative to home-manager for managing dotfiles. It explains the tool's functionality, including creating files, directories, symlinks, and scripts from a JSON input. The article also highlights caveats such as UTF-8 constraints and security considerations for symlinks.

Key quotes

· 3 pulled
json2dir: a JSON-to-directory converter, a fast alternative to home-manager for managing dotfiles.
Regular JSON constraints apply. In particular, the input must be UTF-8.
When using this utility to create files for other users, care must be taken in order to prevent TOCTOU (time of check, time of use) attacks (e.g. with symlinks).
Snippet from the RSS feed
A JSON-to-directory converter, a fast alternative to home-manager for managing dotfiles - alurm/json2dir

You might also wanna read