Socket
Socket
Sign inDemoInstall

silent

Package Overview
Dependencies
27
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    silent

Be a silent, static blog


Version published
Weekly downloads
823
increased by21.57%
Maintainers
1
Install size
4.13 MB
Created
Weekly downloads
 

Readme

Source

silent 2.0

      

Be a silent, static blog

for silent 1.0, check this out

Features

Old-school & Clean

  • no MVVM frameworks (no vue, react, etc)
  • no CCS frameworks
  • no jquery

Static & Portable

  • no node_modules (no dependencies, etc)
  • no build systems (no gulp, webpack, etc)
  • no extra build commands (no npm-run-build or -generate)
  • no CI/CD required (github-actions can be optional)
  • source code is all it needs to run
  • npm-create tooling

Writing, Focus and Visualization

Extendable & Integration

  • analytics: google, baidu, etc
  • comment system: disqus +cusdis +giscus, etc
  • backend permission api

Funny & Fancy & Performance

  • prefer history.pushState api
  • progress bar on top
  • auto favicon (extracted from title)
  • favicon dark mode
  • page-level dark mode

Security & Stability

  • responsive design
  • prefer es5 and guarded with eslint
  • fallback on browser compatibility break
  • IE 6+ support (needs polyfill, etc)

Usage

# create it
npm create silent <dest>
# or
npm i -g silent
silent create <dest>

# e.g.
npm create silent ~/t/my-blog
# >>>
# copying /Users/fritx/.nvm/versions/node/v16.14.0/lib/node_modules/silent/blog
#  => /Users/fritx/t/my-blog
# silent-create completed

# serve it
cd ~/t/my-blog
npx serve . -p 3000
# >>>
# Serving! http://localhost:3000

# deploy to your github pages?
cd ~/t/my-blog
git init
git remote add origin git@github.com:fritx/silent.git
npx gh-pages -d .
# >>>
# Published. https://fritx.github.io/silent/

Browser Compatibility

Status: no IE

mermaid:

auto title favicon:

if using giscus:

Silent Fans

Thank you!

More..

Rather than a framework or library, silent is more like a spirit - a culture. (says Huang)

Keywords

FAQs

Last updated on 26 Jun 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc