Elektrine lite

← Feed

@wilfredh@mastodon.social

Post #1099744

2026-03-22 17:46 UTC

I'm surprised there aren't more tools out there for starting a new project with some default config files. There's `cargo new` but it's Rust specific and very minimal. create-react-app is React specific. The only option I know of is cookiecutter. Surely it's a common problem?

Replies (4)

  • @pinskia@hachyderm.io 2026-03-22 17:51

    @wilfredh There used to be some templtes provided with CodeWarrior. And then with Xcode (both carbon and cocoa based ones). But I have not done Mac OS programming in years.

    Open ##1271874

  • @chfkch@ruhr.social 2026-03-22 18:26

    @wilfredh I think with `cargo-generate` you can also generate from templates for other languages than rust.

    Open ##1271883

  • @muvlon@hachyderm.io 2026-03-22 18:45

    @wilfredh This is sometimes called "scaffolding" and there's a bunch of tools that do this, especially in the web space. Yeoman is one example. Nix flakes also have support for this.

    Open ##1271884

  • @miketheman@hachyderm.io 2026-03-22 19:07

    @wilfredh had you seen scaf? Might be interesting. https://github.com/getscaf/scaf

    Open ##1271885