Coder Social home page Coder Social logo

seneca-cdot / siteit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from serpentbytes/siteit

0.0 2.0 0.0 209 KB

Easy-to-use Static Site Generator that can turn `.txt` files into HTML.

Home Page: https://siteit.vercel.app

License: MIT License

JavaScript 93.64% CSS 6.36%

siteit's Introduction

Siteit

About

Siteit allows users to convert text files into .html pages. Presently, Siteit only supports input files in .txt format.

Installation

  • Use the command git clone to clone the repo to your local machine
  • cd into the cloned directory, and run npm install to install all the dependencies
  • Run npm link to run Siteit locally on your machine

Features

Siteit comes with its built-in stylesheet and supports various screen resolutions. When a folder with .txt files is supplied, an Index file is also generated in the dist folder, linking to all generated files.

Usage

Command Option/Flag Additional Argument(s) Description
siteit -v or --version n/a Displays tool name and version information
siteit -h or --help n/a Display usage manual
siteit -i or --input ./filename.txt Converts the file's content supplied as an additional argument into a .html document. To locate the generated file, cd into the application's dist directory
siteit -i or --input ./directory Converts all the files within a directory supplied as additional argument into .html documents. To locate the generated files, cd into the application's dist directory and open index.html

Usage format: siteit [option/flag] [additional arguments]

If the user is on Windows and are unable to run the tool using the aforementioned usage format, follow these steps:

Recommended Approach

  • Use node command prefix to run the app as follows:
    • node ./index.js -h

Not Recommended Approach

  • Using PowerShell in Admin Mode, run the following command to bypass PowerShell's Execution Policy
    • For temporary bypass run: Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
    • For permanent bypass (not recommended) run: Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy Unrestricted.

siteit's People

Contributors

serpentbytes avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.