Be a silent, static blog
for silent 1.0, check this out
SilentPress: a CMS alternative to VitePress and WordPress. 200+LOC written in Go.
https://github.com/fritx/silentpress
-- for the 10th-anniversary of silent. silent and its simplicity was a once a culture, a spirit, and a memory of ____
#silent #10YearsAnniversary #simplicity #opensource
- no MVVM frameworks (no vue, react, etc)
- no CCS frameworks
- no jquery
- 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
- markdown
- mermaid diagrams
- prefer history.pushState api
- progress bar on top
- auto favicon (extracted from title)
- favicon dark mode
- page-level dark mode
- responsive design
- prefer es5 and guarded with eslint
- fallback on browser compatibility break
- IE 6+ support (needs polyfill, etc)
# 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 [email protected]:fritx/silent.git
npx gh-pages -d .
# >>>
# Published. https://fritx.github.io/silent/
Status: no IE
- no IE https://caniuse.com/?search=arr%20includes
- no IE https://caniuse.com/?search=str%20includes
- no IE https://caniuse.com/?search=builtin%20object%20assign
- IE10+ https://caniuse.com/?search=console
- IE10+ https://caniuse.com/?search=pushstate
- IE9+ https://caniuse.com/?search=date.now
- IE9+ https://caniuse.com/?search=object.keys
- IE9+ https://caniuse.com/?search=arr%20foreach
- IE9+ https://caniuse.com/?search=querySelector
- IE9+ https://caniuse.com/?search=css3%20selectors
- IE8+ https://caniuse.com/?search=scrollintoview
mermaid:
- no IE / Safari 15.4+ https://caniuse.com/?search=structuredClone
- no IE https://caniuse.com/?search=arrow%20function
auto title favicon:
- no IE https://caniuse.com/?search=prefers-color-scheme
- IE10+ https://caniuse.com/?search=matchMedia
- IE9+ https://caniuse.com/?search=canvas
if using giscus:
- no IE https://caniuse.com/?search=ResizeObserver
- IE8+ https://caniuse.com/?search=postmessage
- IE8+ https://caniuse.com/?search=localstorage
Thank you!
- ZhanZengyu's Blog
- Meizhuo's Blog
- Amen's Blog
- Jayin's Blog
- Derek's Blog
- Huang's Blog
- Jason's Blog
- Jayden's Blog
- Fritx' Blog
Rather than a framework or library, silent is more like a spirit - a culture. (says Huang)