Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
NOTE: I will update the README with more elaborative details and examples.
Download and Install Node.js.
Install npm
curl http://npmjs.org/install.sh | sh
Then run npm intall punch
Go inside your site's directory and then run punch
to generate the output.
If you got a config.json
file inside the site's directory its configurations will be used to generate the site. Alternatively, you can provide a path to custom configuration file when running punch (eg. punch path/to/config
)
If no configuration found, punch
will use the default configurations. According to default configurations, you expect to have templates
and contents
directories and output will be written to public
directory.
Checkout the sample available at /sample
to understand the directory structure and configurations.
Templates should be available in mustache format. Other formats are copied directly without going through the renderer.
Content should be either in JSON format or markdown. Markdown is converted to a JSON value with the file name as the key.
Punch will render each template by fetching the relavant content. It moves the rendered file into output directory (preserving the directory structure). Uses .html (or what's specified in the config file) as the default extension (eg. index.mustache -> index.html)
Please report any bugs or feature requests here: http://github.com/laktek/punch/issues/
FAQs
A fun and easy way to build modern websites
The npm package punch receives a total of 39 weekly downloads. As such, punch popularity was classified as not popular.
We found that punch demonstrated a not healthy version release cadence and project activity because the last version was released 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.