
Security Fundamentals
Obfuscation 101: Unmasking the Tricks Behind Malicious Code
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
IMPORTANT: This project is deprecated. Please go with next.js!
Ever wanted to create a static site while taking advantage of all the amazing things that are available within the JavaScript universe? Then you're at the right place!
Cory combines clean, logic-less handlebars templates and markdown files with a straightforward development workflow and allows you to set up a new site in a few seconds.
Install it (you'll need at least v6 of Node):
npm install -g cory
Run it:
cory [options] [command]
Theres a list of all options and commands below. For a step-by-step guide, check this out.
Uninstall the package if it's already installed:
npm uninstall -g cory
Clone this repository:
git clone https://github.com/leo/cory.git
cd cory
Link it app to the global module directory:
npm link
Yeeha! :horse: Now you can use the gulp
command within the repository to transpile the its sourcefiles and watch for changes. While the command is running, you're able to use the cory
command everywhere!
Run the following command to get a list of all available options and commands:
cory help
There are a few properties that can be changed by simply adding them to a config.json
file within your project. The JSON object below shows all available options and their default value:
{
"port": 4000, // See option "--port" (CLI option will overwrite this)
"outputDir": "dist", // Path of the directory that will contain the generated site
"sourceMaps": true, // Enable/disable the generation of sourcemaps for assets
"defaultLayout": "main", // The default template into which all pages will be wrapped
"assetDir": "assets" // Default name of the folder that contains the assets
}
FAQs
Minimal generator for static sites
We found that cory 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 Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
Security News
Biome's v2.0 beta introduces custom plugins, domain-specific linting, and type-aware rules while laying groundwork for HTML support and embedded language features in 2025.