Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
A simple SSG generator made with Python. Current version is 0.1.0
Make sure you have installed Python version 3.8.5 or above. No other dependencies is currently needed.
To clone this project, use:
git clone https://github.com/lmpham1/cool_ssg_generator.git
Then, you'll probably want to navigate to the project's root folder:
cd cool_ssg_generator
Navigate to the project folder (if you haven't done so already):
cd cool_ssg_generator
Generate a website from a file or folder:
python cool_ssg --input <INPUT_FILE_OR_FOLDER>
Default output folder is ./dist/
, to specify a custom output folder:
python cool_ssg --input <INPUT_FILE_OR_FOLDER> --output <OUTPUT_FOLDER>
CSS can be used via the --stylesheet
flag:
python cool_ssg --input <INPUT_FILE_OR_FOLDER> --stylesheet <STYLESHEET_URL>
For more usage, please refer to:
python cool_ssg -h
Wanna know what make the cool_ssg_generator
so cool? Aside from the totally-intentional doubled 'generator' in the name, it offers the following awesome features:
-s
or --stylesheet
flags and separate each stylesheet link with space ' '
, i.e.:python cool_ssg -i index.txt -s sheet1.css sheet2.css sheet3.css
**example**
or __example__
), italics (*example*
or _example_
), and links ([Example](www.example.com)
)-l
or --lang
flag (default is en-CA
):python cool_ssg -i test.txt -l en-UK
Note: No validation for --lang
/-l
option is implemented yet. See issue #14 for more information
--config
/-c
flag with a json file:python cool_ssg -c config.json
Note: Using --config
/-c
option will ignore/override other options
FAQs
A CLI static site generator written in Python
We found that cool-ssg-lmpham1 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.