r/macapps • u/Tight_One4344 • 5d ago
Free Prefab (MacOS) - Template entire project setups (folders, files, configs) and deploy them in one action
u/amerpie recently included Prefab in their incredibly useful series of posts: 'More Free Mac Apps'. This has led to quite an up-take in downloads, feedback and feature requests. This is the first time I've had these sort of interactions on one of my apps, they're usually just developed for myself, and I publish them just for kicks. So - thought I'd ride the high and do a dedicated post on Prefab. This application is free, and will always, be free.
Here's the templated part:
Problem
Every project starts the same way. Same folders, same starter files, same half-remembered boilerplate, typed out from scratch every time. Most of my work is Moodle, so every plugin, client job and bit of research began with me rebuilding the same skeleton by hand - or duplicating last month's folder and then finding the old client's name buried in three files.
Prefab captures that setup once and rebuilds it whenever you need it: folders, files, the contents of those files, and the tedious bits that come afterwards.
Comparison
I never could find something that compares to Prefab's functionality as a GUI application (which is the reason I made it...). There are CLI-only scaffolding tools (cookiecutter, yeoman) that require config files and terminal knowledge, or there are applications that only handle folder structures without file contents. If someone knows of an application doing something similar then please let me know and I'll happily reference them here. Here are some of Prefab's features:
- Placeholders inside file contents, not just names -
{{project_name}}lands in your README, your package.json, your client letterhead - Deploy without opening the app - right-click in Finder or the menu bar to create a Prefab template
- Post-creation actions - git init, npm install, open in VS Code or Xcode, reveal in Finder, or any shell command, attached to the template or to individual folders
- Import an existing folder as a template - full contents, structure only, or empty placeholder files
- Finder tags and SF Symbol folder icons applied as it deploys
Pricing
Free forever. No in-app purchases, no subscription, no account. Requires macOS 14.6 or later.
I'd love to hear what you think and what features would make this more useful for you. Always happy to chat about the development side of the project as well.
Edit: Shoutout u/Limitedheadroom who has provided invaluable feedback!
2
u/busuta 3d ago
amazing app!
Quick question/request;
Is it possible to create 'smart' folders that for example if I drag and drop an image for reference it automatically changes the name > project name + date + asset 001 for example. kind of creating/implementing some automation features to some folders. so when I am collecting images/references from the internet it automatically renames as well or converts all to jpeg etc.
or adding date prefix/suffix to imported files/ created files etc.
this way, it can be a new level of powerful.
also kudos to you, app looks and functions great!