
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Generate a minimal blog from Notion.so.
notablog-starter
repository and install packages.
git clone https://github.com/dragonman225/notablog-starter.git
cd notablog-starter && npm install
config.json
. Change url
field to the URL of the table you've duplicated.npm run generate
. Generated static assets are in public
folder. You can move that folder to your hosting location.Below folder paths are relative to the
notablog-starter
you have cloned.
To edit CSS styles, look for files in public/css
. (Notice : This folder may be moved in the future.)
To edit layouts, look for files in layout
. These are Squirrelly templates.
Variables a user can use in index.html
template :
GraphQL-style overview :
{
siteMetadata {
title
}
index {
posts {
pageID
title
tags {
value
color
}
icon
description
createdTime
lastEditedTime
}
}
}
Details :
Property | Type | Description |
---|---|---|
siteMetadata.title | string | Title of the blog. |
index.posts | Post[] | Post metadata array. |
A Post
object :
Property | Type | Description |
---|---|---|
pageID | string | Notion's page ID. Used as the file name of a post. |
title | string | Title of a post. |
tags | Tag[] | Tags of a post. |
icon | string | Icon of a post. |
description | string | Description of a post. This is a HTML string since Notion support styles here. |
createdTime | string | Created date of the post in YYYY.MM.DD format. |
A Tag
object :
Property | Type | Description |
---|---|---|
value | string | Name of the tag. |
color | string | Color of the tag with prefix tag- . e.g. tag-green , tag-red . |
Variables a user can use in post.html
template :
GraphQL-style overview :
{
siteMetadata {
title
}
post {
pageID
title
tags {
value
color
}
icon
description
createdTime
lastEditedTime
}
content
}
Details :
Property | Type | Description |
---|---|---|
siteMetadata.title | string | Title of the blog. |
post | Post | See above Post object. |
content | string | HTML string of the page, including title. |
FAQs
Generate a minimalistic blog from a Notion.so table.
The npm package notablog receives a total of 545 weekly downloads. As such, notablog popularity was classified as not popular.
We found that notablog 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.