2 stable releases

new 3.2.2 May 4, 2025
3.2.1 Apr 27, 2025

#58 in Template engine

Download history 104/week @ 2025-04-27

104 downloads per month

MIT license

42KB
919 lines

                                           _____  _____ 
                                          |____ ||  _  |
 _______ _     _ ______  _______ _    _       / /| |/' |
 |  |  | |____/  |     \ |______  \  /        \ \|  /| |
 |  |  | |    \_ |_____/ |______   \/     .___/ /\ |_/ /
                                          \____(_)\___/ 

image image image Packaging status

A CLI Tool for Tinkerers

mkdev is a tool for easily generating boilerplate in programs, scripts, and other projects.

Features

  • Automated copying and pasting of directories and their contents
  • Simple text substitutions based on user configurations
  • An fzf-powered shell script to quickly search through, deploy, and delete your recipes
  • A home-manager module to configure mkdev declaratively
  • A wiki with information on how to install, use, and configure mkdev

Packaging Status

Packaging status

Installation Guide

History

Mkdev 3.0 is a spiritual successor to 2.0, which was written in python and functioned far differently. I originally wrote mkdev because I wanted something for simple scripting like Makefile without writing a new file for every project. The script was hardcoded, which wasn't ideal for extensibility. 1.2 improved on the idea by making it so users could write configs that would define the recipes. Unfortunately it was clunky, requiring nested directories and a poorly conceived config scheme. 2.0 improved on the structure of the config by flattening it, but this made it difficult for a human to read. In the end I had to make a custom, buggy built-in tui text editor... very cool, but definitely not ideal.

So the motivation of this re-write was two-fold: improve the ergononmics of the program and to use a better-suited and faster language.

Contributing

Contributions, feature suggestions, and issues are welcomed.

Contribution Licensing Information

Dependencies

~22–31MB
~544K SLoC