skb
Version, currently master branch1 version
- master branchlatestApr 2, 2022
github.com/zhangkaizhao/skb
Simple knowledge base
Installation
# Add this to your shard.yml
dependencies:
skb:
github: zhangkaizhao/skb
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.0.0, < 2.0- License
- MIT
- Author
- Kaizhao Zhang
- Target
skbfrom src/skb.cr
Dependencies
Runtime Dependencies
- amber*github: amberframework/amber
- markd*github: icyleaf/markd
- sitemapper*github: jwoertink/sitemapper
- jasper_helpers*github: amberframework/jasper-helpers
README
skb - Simple knowledge base
skb is a small Crystal/Amber application that allows you to simply publish a collection of Markdown files.
This is inspired by pkb. And most of the source code is ported from pkb.
The purpose of skb is just a practice of the Crystal language.
The favicon (pencil-alt) is from Heroicons
Building
- Install Crystal
- Run
shards buildthen get the built binarybin/skb
Configuration
- Copy the
settings.default.ymlfile tosettings.ymland fill in your own details - Replace any static files in the
publicdirectory. e.g.favicon.ico - Link the directory with your Markdown files in it. e.g.
ln -s ~/Dropbox/My\ Markdown\ Files pages - Start the server,
./bin/skband visit http://localhost:3000/pages - You should have Markdown file called
home.md. This file will be shown as the homepage: http://localhost:3000/
Sample home.md
Please see sample/pages/home.md
There is a custom element named recently-changed-list.
It has an optional attribute limit with default value "5".
Use it without the optional attribute limit:
<recently-changed-list></recently-changed-list>
Use it with the optional attribute limit:
<recently-changed-list limit="8"></recently-changed-list>
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Apr 2, 2022
- Crystal
>= 1.0.0, < 2.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/zhangkaizhao/skb
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1