3
2 Comments

I made my first CLI which generates an HTML/CSS boilerplate! πŸŽ‰

Hey IH community! πŸ‘‹

Today I've been working hard on publishing a new NPM package.

Check it out! πŸ‘‰ https://github.com/BraydenTW/create-html-boilerplate


Create HTML Boilerplate generates a vanilla HTML/CSS boilerplate for you in a flash! ⚑

Baby GIF

To start a project, simply type in the following command into your terminal:

npx create-html-boilerplate myapp

Tada! ✨

Now you can code away!


But, why?

You might be asking, why would I want a boilerplate generator for a plain, vanilla project?

Well, as I started web development as a beginner a few years ago, making the folder structure and file imports were always time consuming for me. I already knew how to do it, why waste my time setting it up?

My brother has had this same issue and that's when the idea popped into my head. πŸŽ‰


I'm open to any feedback you have for my project. I'm planning on adding more config options, imports, and templates too. πŸ˜‰

If you find this tool useful, I would appreciate a ⭐ on this repo.

on December 13, 2020
  1. 2

    I like this idea. I've tried a couple of things to solve this problem locally as well.

    Here are some ideas:

    • Make the CSS folder/file optional.
    • Add an option to create a JS folder/file (the instructions show a JS folder/file in the sample folder structure, but it didn't get created when I ran it).
    • Add an option to create a README dot md (I spelled out the dot because IH turned it into a link for some reason).
    1. 2

      Hey @jhonkaman!

      Thanks for leaving some kind words and feedback here. I have been working on adding parameters/options to the CLI to make it more customizable.

      Thanks so much! If you find this tool to be useful in the future, ma star or share of this fun little project would be great.