
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.
punchcard-cms
Advanced tools
Headless Content Management System designed with content strategy at its heart. Built with Node.
npm i punchcard-cms --save
const punchcard = require('punchcard-cms');
punchcard().then(app => {
app.listen(8080);
})
Punchcard uses any Vinyl Adapter that your heart desires. A good first place to start is searching for vinyl on NPM. Punchcard assumes all vinyl adapters are named vinyl-adapter
.
Make sure PostgresSQL is set up locally (see below)
Install all the things
npm install
Run the following to run both the database and get the server running:
$ npm run dev
Uses node's built in inspector. This works in chrome only.
$ npm run dev:database
then in a separate window:
$ npm run debug
There will be instructions and a link to paste into chrome shown in the terminal after this debug
command is run.
Make sure you have homebrew installed: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install postgres
start the postgres server: postgres -D /usr/local/var/postgres
open new terminal tab
create a postgres user (it'll prompt for a password use W@ts0n
): createuser punchcard -P
Create local CMS database: createdb -O punchcard punchcard
Create local test database: createdb -O punchcard punchcard_test
reconnect to psql as new user: psql -d punchcard -U punchcard
connect to db: \connect punchcard
Once you are connected you should be able to use psql cli syntax to check tables.
\d+
checks table relations\l
lists all available databasesselect * from "database_name";
Displays all rows in database, replacing database_name with the table you want to see.\c punchcard \dt
See the latest release for the most recent changelog
FAQs
Node-based content management system
The npm package punchcard-cms receives a total of 154 weekly downloads. As such, punchcard-cms popularity was classified as not popular.
We found that punchcard-cms demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.