Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ creator Public

Application for creation new files and projects from user templates

License

Notifications You must be signed in to change notification settings

an-dr/creator

Repository files navigation

creator - start a new project not from scratch

logo

Version

Creator is a TUI application designed to simplify starting new projects using user-defined templates.

screenshot1

screenshot2 screenshot3

Contributions are welcome! Feel free to submit feature requests or bug reports.

Table of Contents

πŸ“Ί Demo

demo

πŸš€ Installation

  1. Copy the application to your desired location.
  2. Set up templates:
    • Place your templates in ~/.creator-templates, or
    • Define a custom location using the CREATOR_TEMPLATES environment variable.
    • You may want to copy templates from the examples directory as a starting point.
  3. Add Creator to PATH:
    • Ensure the application directory is included in your system's PATH.
  4. Run Creator:
    • Navigate to the directory where you want to create a new project and run: creator.
  5. Enjoy! πŸŽ‰

🌱 Environment variables

  • CREATOR_TEMPLATES: Specifies the path to your templates directory.

πŸ“‚ Template Structure

Storage Layout

Storage/
 |- group_a/
 | |- template_directory_a/
 | | |- [files and dirs]
 | |- template_directory_b/
 | | |- [files and dirs]
 | | |- ...
 | ...
 |
 |- group_b/
 | |- template_directory_a/
 | | |- [files and dirs]
 | ...
 |
 ...
 

Note: dotfiles and directories are ignored by the application.

Template Variables

You can define variables within template files and filenames using the following syntax:

  • @{Name of a Variable}@ - This placeholder will be replaced with user-defined values during project creation. And will be prompted like this:
Name of a Variable: ________

Yes, you can use spaces in the variable name! πŸ˜„

πŸ’‘ Notes

  • Template Groups: Organize your templates into logical groups for easy navigation.
  • Customizable Variables: Enhance templates by leveraging variable placeholders for dynamic project creation.

For questions, feedback, or contributions, don't hesitate to reach out!

❀️ Aknowledgements

Contributor Contribution
@Arteiii πŸͺŸ Windows installer #5
βš™οΈ Actions improvements #5
@zamazan4ik πŸ’‘ Optimization proposals #9

🀝 Contribute

For the application design and architecture see docs/design.md.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Application for creation new files and projects from user templates

Resources

License

Stars

Watchers

Forks

Contributors 2

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /