Skip to content
/ kblog Public

⚡ My Blog · 3 KB · Single Page · Material Design

License

Notifications You must be signed in to change notification settings

kkocdko/kblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kblog - (webusbkvm inside)

Address Size License

My Blog · 3 KB · Single Page · Material Design

Intro

A unique blog solution, which is:

  • 🗜️ Tiny, less than 3 KB (after brotli).

  • ⚡️ Fast, Single Page App built with vanilla JavaScript.

  • 💎 Pretty, follow Material Design.

Usage

npm i # or download stripped node_modules from release page
node . serve # serve | generate | develop
Nerd tips

Publish to Vercel manually

node . generate
cd public
mkdir -p .vercel
echo '{ "projectId": "prj_xxx", "orgId": "team_xxx" }' > .vercel/project.json # use vercel link
echo '{ "framework": null, "headers": [{ "source": "/(.*)", "headers": [{ "key": "Cache-Control", "value": "max-age=30, stale-while-revalidate=604800" }] }] }' > vercel.json
vercel whoami
vercel pull --prod
vercel build --prod
vercel deploy --prod --prebuilt --archive=tgz
cd ..
# npm i -g vercel # 41.0.2 , you can remove all inside `./vercel/node_modules/` except of the `@vercel`

Contributing

Follow prettier and stylelint-config-recess-order.