frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Dotter: Dotfile manager and templater written in Rust

https://github.com/SuperCuber/dotter
41•nateb2022•3h ago

Comments

phren0logy•2h ago
Now that 20225 has become “The Year of the Terminal”(R), I have been looking at how managing my dot files in a more coherent way. I was thinking straight up git vs stow, but I should would be very interested in comparisons from those who have used this tool.
gaweringo•2h ago
I found it quite useful. My main use case for it is managing the same dotfiles for Windows and Linux. Specifically that neovim uses different folders and I can set that per OS in dotter.

It also allows for including our not including a config based on an executable being available which can be useful. It requires some configuration, depending on how many of its features you use but I think it's worth it.

phren0logy•2h ago
Thanks. I’m between Omarchy and MacOS mostly, but sometimes Windows, too. Seems worth putting some time into it.
vault•1h ago
I've been using "homegit" for years and never felt the need for a replacement.

https://www.atlassian.com/git/tutorials/dotfiles

tonymet•12m ago
great tip! also for /etc
daedalus_j•56m ago
Chezmoi is what you want.

I haven't looked at this one yet, but until someone compares it to Chezmoi and points out where it's better I'm not even looking attention I fear. Chezmoi is just that good.

mr_mitm•44m ago
How do you manage system wide settings? I've been using ansible, but it seems a bit overkill. I feel it's over complicating things.
skydhash•7m ago
Not GP.

I tarball /etc. On a new system, I restore config quite carefully.

announcer4614•20m ago
For the sake of answering the parent question with regard to Chezmoi specifically: Chezmoi is a very comprehensive dotfiles manager. It can do a lot of things. More than any other I'm aware of.

More does not necessarily equal better, though. I think that's a matter of personal preference. I tried Chezmoi for a while and ultimately decided it was just a lot more levers at my disposal than I really wanted to even think about.

Dotter, by contrast, is a lot more minimal. Dotter is little more than a symlink manager plus templating engine plus config files to declare what machines need what config.

Chezmoi is all that, and does a lot more: encryption/decryption (even has password manager integrations), automatic push/pull. It's also designed so that you can add or manage files regardless of what your current working directory is (via commands like `chezmoi edit/add`).

In my case, after deciding I wanted to go for the minimal end of things, I almost went for GNU Stow however, I wanted templating functionality and I liked dotter's "packages" system for defining what files a given computer needs.

And very much a personal bias here: I found the learning curve of Chezmoi templates not great. I'm also not a big fan of the fact that Chezmoi relies on you naming your source files in particular ways in order to determine what the target file permissions should be.

Shebanator•9m ago
Wait until you get a load of nix's home manager!
defraudbah•1h ago
I wish it had more examples or some basic documentation website, it looks interesting cuz i have a lot of context switching through all my tools.
jzelinskie•41m ago
I've seen projects like this for years and I still have the genuinely honest question: what are people doing that managing their dotfiles is significant problem for them?

I've managed my dotfiles (12 different configuration files all compatible with cygwin, wsl, linux, macOS) for the past decade in a git repo with a 50 LOC shell script that creates symlinks for me in an intelligent way. What am I missing?

loloquwowndueo•10m ago
I use chezmoi, and I didn’t have to write a 50-line script - just install chezmoi on a new machine, run a command pointing it to a git repo, and up pop all the dot files and configs I need to have a consistent environment everywhere.

Chezmoi also handles variations in config files for personal vs. Work machines, or even differences between machines themselves.

I agree it’s not a tremendous lift to write a bespoke solution for this (and I did so in the past) but at some point it becomes lower-effort to use something off the shelf.

tracker1•36m ago
I have a backup/restore set of scripts that copies my dot files over as well as a few directories as a whole via rsync.

My only big issue is how big ~/.config/ gets as a directory compared to how much I really want to keep/need in terms of a fresh setup. Similar for my ~/src/ directory, with all the ./.git/ files. I kind of wish there were a "smarter" backup/restore tool that could handle a few of these things better than ham-fisting and rsyncing all the things.. I was more selective in my restore when configuring my new computer earlier in the year.

skydhash•9m ago
Try Stow. You can create packages for your stuff and symlink the files as needed. I have packages like git, shell, mail,…
pentracchiano•19m ago
Why is "written in Rust" as important as what the software is about? I noticed this tendency of specifying when something is written in Rust.

Should it be an indicator of better stability? Or performance? And if so, am I interested in the performance of a dotfile tool?

Genuinely curious.

tonymet•13m ago
it's the "pronouns in bio" of programming
turtlebits•11m ago
Easy to deploy, usually single static binaries. Same goes with Golang projects. Polar opposite of java (which I'll totally ignore).
tonymet•14m ago
git bare repo handles dotfiles better than any bespoke platform

1. git is already there and familiar

2. sync dotfiles over ssh . no internet access or separate credentials needed (for github, s3 etc)

3. handles merge conflicts

4. easily push & pull subdirectories into /etc , /usr/local or wherever else you need configuration using git subtree.

git bare repo works for tracking files anywhere on the FS as well. (check debian etckeeper for automating that)

credit: https://www.atlassian.com/git/tutorials/dotfiles

ChatGPT Developer Mode: Full MCP client access

https://platform.openai.com/docs/guides/developer-mode
329•meetpateltech•6h ago•167 comments

Show HN: Term.everything – Run any GUI app in the terminal

https://github.com/mmulet/term.everything
552•mmulet•1d ago•86 comments

KDE launches its own distribution (again)

https://lwn.net/SubscriberLink/1037166/caa6979c16a99c9e/
20•Bogdanp•43m ago•6 comments

Pontevedra, Spain declares its entire urban area a "reduced traffic zone"

https://www.greeneuropeanjournal.eu/made-for-people-not-cars-reclaiming-european-cities/
588•robtherobber•12h ago•758 comments

Christie's Deletes Digital Art Department

https://news.artnet.com/market/christies-scraps-digital-art-department-2685784
13•recursive4•49m ago•5 comments

Defeating Nondeterminism in LLM Inference

https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/
160•jxmorris12•5h ago•54 comments

The HackberryPi CM5 handheld computer

https://github.com/ZitaoTech/HackberryPiCM5
119•kristianpaul•2d ago•36 comments

Launch HN: Recall.ai (YC W20) – API for meeting recordings and transcripts

49•davidgu•6h ago•27 comments

Mux (YC W16) Is Hiring Engineering ICs and Managers

https://mux.com/jobs
1•mmcclure•1h ago

Dotter: Dotfile manager and templater written in Rust

https://github.com/SuperCuber/dotter
41•nateb2022•3h ago•19 comments

OrioleDB Patent: now freely available to the Postgres community

https://supabase.com/blog/orioledb-patent-free
345•tosh•11h ago•115 comments

Longhorn – A Kubernetes-Native Filesystem

https://vegard.blog.engen.priv.no/?p=518
16•jandeboevrie•3d ago•9 comments

Show HN: Haystack – Review pull requests like you wrote them yourself

https://haystackeditor.com
43•akshaysg•4h ago•23 comments

Clojure's Solutions to the Expression Problem

https://www.infoq.com/presentations/Clojure-Expression-Problem/
33•adityaathalye•3d ago•1 comments

I didn't bring my son to a museum to look at screens

https://sethpurcell.com/writing/screens-in-museums/
677•arch_deluxe•6h ago•243 comments

Jiratui – A Textual UI for interacting with Atlassian Jira from your shell

https://jiratui.sh/
100•gjvc•7h ago•26 comments

Show HN: HumanAlarm – Real people knock on your door to wake you up

https://humanalarm.com
13•soelost•1h ago•16 comments

Harvey Mudd Miniature Machine

https://www.cs.hmc.edu/~cs5grad/cs5/hmmm/documentation/documentation.html
37•nill0•2d ago•13 comments

"No Tax on Tips" Includes Digital Creators, Too

https://www.hollywoodreporter.com/business/business-news/no-tax-on-tips-guidance-creators-trump-t...
52•aspenmayer•6h ago•69 comments

Show HN: TailGuard – Bridge your WireGuard router into Tailscale via a container

https://github.com/juhovh/tailguard
84•juhovh•18h ago•22 comments

UGMM-NN: Univariate Gaussian Mixture Model Neural Network

https://arxiv.org/abs/2509.07569
23•zakeria•3h ago•6 comments

Kerberoasting

https://blog.cryptographyengineering.com/2025/09/10/kerberoasting/
132•feross•10h ago•47 comments

Zoox robotaxi launches in Las Vegas

https://zoox.com/journal/las-vegas
153•krschultz•7h ago•197 comments

Charlie Kirk killed at event in Utah

https://www.nbcnews.com/news/us-news/live-blog/live-updates-shooting-charlie-kirk-event-utah-rcna...
429•david927•3h ago•859 comments

The origin story of merge queues

https://mergify.com/blog/the-origin-story-of-merge-queues
64•jd__•6h ago•19 comments

Tarsnap is cozy

https://til.andrew-quinn.me/posts/tarsnap-is-cozy/
86•hiAndrewQuinn•10h ago•57 comments

Things you can do with a debugger but not with print debugging

https://mahesh-hegde.github.io/posts/what_debugger_can/
184•never_inline•3d ago•181 comments

Semantic Line Breaks (2017)

https://sembr.org
71•Bogdanp•3d ago•49 comments

TikTok has turned culture into a feedback loop of impulse and machine learning

https://www.thenexus.media/tiktok-won-now-everything-is-60-seconds/
249•natalie3p•6h ago•182 comments

We can’t circumvent the work needed to train our minds

https://zettelkasten.de/posts/the-scam-called-you-dont-have-to-remember-anything/
311•maksimur•7h ago•146 comments