undot
Declutter a project's root directory by taming configuration file sprawl.
before after
────── ─────
.claude/ .config/
.cursor/ .github/
.editorconfig src/
.github/
.npmrc
.yarn/
src/
Every tool wants a dotfile at the repository root.
undot moves them into a single tracked .config/ directory.
Gitignored symlinks point back to the root, so every tool keeps working.
A pre-commit hook (or prek) recreates the symlinks on every clone and checkout.
Teammates install nothing and notice nothing.
Install
uv tool install undot
Small static binaries (~450KB, instant startup) for Linux and macOS, also on GitHub releases. The pre-commit hook (below) needs no install at all.
Migrate an existing repository
undot migrate # or name entries: undot migrate .claude .cursor
git add -A && git commit
One idempotent command:
- moves the configs
- creates the symlinks
- updates
.gitignore(existing rules that reached inside a moved directory get matching.config/patterns) - registers the git hook below
Clones and new repos set themselves up
migrate writes this hook config. After clone, checkout, merge, or rebase, it
restores any missing symlink:
default_install_hook_types:
[pre-commit, post-checkout, post-merge, post-rewrite]
repos:
- repo: https://github.com/jmelahman/undot
rev: v0.4.1
hooks:
- id: undot
CI configs migrate too
CI checkouts don't run hooks. Most tools accept an explicit config path, so a file like
.goreleaser.yaml can live in .config/ with no symlink at all:
undot migrate .goreleaser.yaml
echo 'nolink .goreleaser.yaml' >> .config/undot.conf
- run: goreleaser release --clean --config .config/.goreleaser.yaml
Guardrails
.gitignore,.gitattributes, and.gitmodulesare never migrated, and other.git*files only if you name them..githuband.pre-commit-config.yamlrequire--force, because a fresh clone must be able to bootstrap the hook.- Caches, secrets, and CI-read configs (
.venv,.env,.golangci.yml, ...) are skipped unless you name them. - Conflicts are reported, never overwritten. Migrating a tracked file prints the
git rm --cachedcommand you'll want afterwards.
Tune the scan in .config/undot.conf or ~/.config/undot/undot.conf, one
name or glob per line:
# never migrate these here
.idea*
# do migrate .env, despite the default skip
!.env
# keep in .config/ without a root symlink
nolink .goreleaser.yaml
Metadata
Release files for undot 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| undot-0.4.1.tar.gz | 82.6 kB | Without provenance | Details for undot-0.4.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| undot-0.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl | Python 3 | none | Linux musl 1.1+ x86-64, Linux glibc 2.17+ x86-64 | Details for undot-0.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl |
| undot-0.4.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64, Linux musl 1.1+ ARM64 | Details for undot-0.4.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl |
| undot-0.4.1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for undot-0.4.1-py3-none-macosx_11_0_arm64.whl |
| undot-0.4.1-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details for undot-0.4.1-py3-none-macosx_10_12_x86_64.whl |
Total release size: 935.2 kB
Release files / undot-0.4.1.tar.gz
| Download URL | undot-0.4.1.tar.gz |
|---|---|
| Size | 82.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bd13113710e6aaf05506455524f2fe0cdb403359423852e20fcd4335a624060
|
|
BLAKE2b-256 checksum How to use checksums |
494968d6a86dfed4ec20d97a02c0f6f6c1d7af5353c47d5db296e6c2211694ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / undot-0.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl
| Download URL | undot-0.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_1_x86_64.whl |
|---|---|
| Size | 243.7 kB |
| Tags | Linux glibc 2.17+ x86-64 Linux musl 1.1+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
5066ba7c1f177100d7c8397b09c94500cc949c8448ed654e4c29b5482eb059dc
|
|
BLAKE2b-256 checksum How to use checksums |
8c698694fb2c9d50caf51cbd52b10488009af330fd7dc64d33a71473dec11895
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / undot-0.4.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl
| Download URL | undot-0.4.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl |
|---|---|
| Size | 236.1 kB |
| Tags | Linux glibc 2.17+ ARM64 Linux musl 1.1+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
f6d5a00bf1c876afc1fe778c4f99405caeaea3700018b7da729b2313d6a5ad9b
|
|
BLAKE2b-256 checksum How to use checksums |
cf305b6fb7455b0d2f47bc109b102c153bc0504005ca7e12856b962469ded6ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / undot-0.4.1-py3-none-macosx_11_0_arm64.whl
| Download URL | undot-0.4.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 182.2 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
45903f446802a6a5d66ba4b0de679e4cc6d8968d3bd4cf23f63eedb40e6057af
|
|
BLAKE2b-256 checksum How to use checksums |
933bf30a96377f458fc7098e3668279b19be124b1b40d4207d4cda2aaad75cad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / undot-0.4.1-py3-none-macosx_10_12_x86_64.whl
| Download URL | undot-0.4.1-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 190.7 kB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
4b963b3644a544c67206d1a551df04406717d8630e8fd24386550a229a44e831
|
|
BLAKE2b-256 checksum How to use checksums |
907e6fad2880757a4baf24fa7daf9da5b3ea2f37a5952d3984e00e7032e910c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for undot 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.