Remix.run Logo
echelon 7 days ago

This. Projects need to stop inventing their own root level files and directories.

Stop polluting the root dir.

I'm not a fan of the name "well-known", but at least it's a convention [1].

I think it'd be great if we took something like XDG [2] and made it common for repositories, build scripts, package managers, tooling configs, etc.

[1] https://www.rfc-editor.org/rfc/rfc8615

[2] https://wiki.archlinux.org/title/XDG_Base_Directory

vinnymac 7 days ago | parent | next [-]

.config is a good name, and has a small following

https://dot-config.github.io

edoceo 7 days ago | parent | next [-]

And is also used in my $HOME directory - I like repeating good patterns, or at least well known patterns. (I still have ./etc and ./lib directories in my projects)

echelon 7 days ago | parent | prev | next [-]

This has my vote. Thank you for sharing.

soraminazuki 6 days ago | parent | prev | next [-]

Or just config with no dots.

binarysneaker 7 days ago | parent | prev [-]

Reminds me of https://xkcd.com/927/

eadmund 6 days ago | parent | prev | next [-]

I believe with direnv or a similar tool (e.g. Emacs’s directory-local feature) one can append $REPO/.config to XDG_CONFIG_HOME, $REPO/.local/bin to PATH and so on so that when in the context of a particular directory everything Just Works.

I think all this agentic stuff could live quite happily in $REPO/.config/agents/.

oblio 7 days ago | parent | prev [-]

I've been in IT for a long time and configured Apache, Nginx, even IIS a bit back in the day, but I actually didn't know about well-known.

I guess I was one of the lucky 10000 :-)

https://xkcd.com/1053/

riffic 6 days ago | parent [-]

in that case it's .not-so-well-known/