
Security News
OpenGrep Restores Fingerprinting in JSON and SARIF Outputs
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
__//
cf /.__.\
\ \/ /
'__/ \
\- )
\_____/
_____|_|_____
" "
S I L K I E
Static site generator with the smoothness of silk
Silkie is a simple and smooth static site generator. It can parse text files (".txt") and Markdown files (".md") and generate HTML files from them.
Check out the demo generated from this text file (with help from new.css).
$ silkie -h
Usage: silkie [OPTIONS]
Static site generator with the smoothness of silk
Options:
-v, --version Show the version and exit.
-h, --help Show this message and exit.
-i, --input PATH Path to the input file/folder [required]
-s, --stylesheet TEXT URL path to a stylesheet
-l, --lang TEXT Language of the HTML document [en-CA by default]
-c, --config FILE Read option defaults from the specified INI file
<html lang="{your-language}">
, en-CA
by default)$ pip install silkie
Check if you already have installed Silkie:
$ silkie -v
You can also run Silkie as a package:
$ python -m silkie -v
$ silkie -i tests/data/text/The Adventure of the Speckled Band.txt
$ silkie -i tests/data/text
$ silkie -i tests/data/text/Silver Blaze.txt -s https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.css
$ silkie -i tests/data/text/Silver Blaze.txt -l fr
$ silkie -c tests/data/config/all_markdown_files.json
Like how you specify the options verbosely for a regular input file, there are keywords can be set in your JSON file: input
, lang
, and stylesheet
{
"input": "tests/data/text/Lorem Ipsum.txt",
"stylesheet": "https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.css",
"lang": "fr"
}
Supported keywords:
Name | Type | Default | Usage |
---|---|---|---|
slug | string | File path | Customize the document URL route, e.g. /docs/example.html |
title | string | Markdown title or file name | The text title of the document. Automatically added at the top of your doc if it does not contain any Markdown title. |
description | string | The description of your document, which will added to document metadata for search engine optimization. |
Please read the Contribution Guide before developing any changes.
FAQs
Static site generator with the smoothness of silk
We found that silkie 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
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.