DEV Community

Maxim Nosov ✪
Maxim Nosov ✪

Posted on

Open Source Development - Release 0.1

Hello!

I created SSG tool that allows you to conver txt files into html. I was unable to fix some issues yet, but planning to make it better in the future. (https://github.com/mnosov622/simple-ssg1).

A static site generator is a tool that generates a full static HTML website based on raw data and a set of templates. Essentially, a static site generator automates the task of coding individual HTML pages and gets those pages ready to serve to users ahead of time. Because these HTML pages are pre-built, they can load very quickly in users' browsers.

It was a great feeling to build something on your own. I think the most important outcome from open source to get is that you have to learn to get the right information on the internet, it's not that easy due to huge amount of information out there, but you have to google it right to get what you want :)

Sometimes, it gets you down, when you don't know how to fix an issue, but the way you think is very important here: if you say I haven't fixed it yet, your mind is open to any ideas and you keep trying until you make it, but once you say I can't fix this issue, you are just hiding from everything.

How to use the tool:

Options

Run --help or -h to display the usage information

Run --version or -v to display the tool name and version

Run simple-ssg1 [name of the file] to conver file from txt to html.

Examples:

  1. simple-ssg1 ./content (convert all files inside content folder into html)

  2. simple-ssg1 silver-blaze (upper case or lower case, will convert single file into html)

Implemented features:

  1. Added default stylesheet file

2.When user specifies a folder (./content) tool will convert all files inside this folder into html files and create home page.

Last words. It's always hard to get out from your comfort zone, b but we need to do it in order to develop ourselves.

Top comments (0)