Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
jekyll-posts-generator
Advanced tools
As you can guess from the title, this is a node module to generate jekyll posts easily from within your terminal.
type in your terminal :
npm install -g jekyll-posts-generator
In some computers you need to be an administrator to install this module, in that case
just precede the previous command with sudo
.
After installing this package you can access the global command jposts
from within any folder you want.
Navigate to some jekyll website folder that have the following structure :
.
├── _config.yml
├── _drafts
├── _includes
├── _layouts
├── _posts
| |── posts are listed here ...
├── _data
├── _site
├── .jekyll-metadata
└── index.html
Now you can create a basic article using the create command
jposts create-post 'my article title'
OR
jposts create-post "my article title"
At this time if you go inside _posts
folder, you will see a new file [YYYY-MM-DD]-my-article-title.md
generated for you.
You can see the list of options available with any command using
jposts [COMMAND_NAME] -h
or jposts -h
to list the options available with the global command jposts
,
Here is some examples :
#list options available with create command
jposts create-post -h
# specify the current post categories
jposts create-post <postName> -c category1,category2,...
# Specify the layout of the current post
jposts create-post <postName> -l post
# You can specify multiple options at the same time :
jposts create-post <postName> -l post -c category1,category2
# Create new category
jposts create-category <categoryName>
FAQs
Generate jekyll posts from the terminal
We found that jekyll-posts-generator 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.