Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Docz | 23,386 | 686 | 1,477 | 2 months ago | 275 | February 11, 2022 | 110 | mit | TypeScript | |
✍ It has never been so easy to document your things! | ||||||||||
Semantic Ui React | 13,127 | 8,465 | 1,256 | 2 days ago | 155 | February 28, 2023 | 196 | mit | JavaScript | |
The official Semantic-UI-React integration | ||||||||||
Nextra | 9,303 | 79 | a day ago | 186 | October 24, 2023 | 273 | mit | TypeScript | ||
Simple, powerful and flexible site generation framework with everything you love from Next.js. | ||||||||||
React Toolbox | 8,705 | 1,310 | 137 | 2 years ago | 66 | June 02, 2018 | 267 | mit | JavaScript | |
A set of React components implementing Google's Material Design specification with the power of CSS Modules | ||||||||||
Rebass | 7,914 | 744 | 382 | 4 months ago | 109 | October 28, 2019 | 98 | mit | JavaScript | |
:atom_symbol: React primitive UI components built with styled-system. | ||||||||||
Semi Design | 7,451 | 37 | a day ago | 302 | November 28, 2023 | 144 | other | TypeScript | ||
🚀A modern, comprehensive, flexible design system and React UI library. 🎨 Provide more than 2800+ Design Tokens, easy to build your design system. Make Semi Design to Any Design. 🧑🏻💻 Design to Code in one click | ||||||||||
React Quill | 6,238 | 777 | 691 | a day ago | 49 | August 03, 2022 | 335 | mit | JavaScript | |
A Quill component for React. | ||||||||||
Theme Ui | 5,138 | 331 | 935 | a day ago | 489 | September 26, 2023 | 71 | mit | TypeScript | |
Build consistent, themeable React apps based on constraint-based design principles | ||||||||||
Next | 4,491 | 65 | 9,997 | 7 hours ago | 493 | November 23, 2023 | 550 | mit | JavaScript | |
🦍 A configurable component library for web built on React. | ||||||||||
Playroom | 4,382 | 11 | 74 | 8 days ago | 106 | November 23, 2023 | 52 | mit | TypeScript | |
Design with JSX, powered by your own component library. |
Bi Sheng was the Chinese inventor of the first known movable type technology.
bisheng
is designed to transform Markdown(and other static files with transformers) into static websites and blogs using React.
You can create a PR to extend this list with your amazing website which is built with BiSheng.
bisheng
is based on dora & webpack & React & react-router, and it has the following features:
browserHistory
, even in GitHub Pages.react-helmet
for better SEO.Installation:
npm install --save-dev bisheng
Then, add start
to npm scripts:
{
"scripts": {
"start": "bisheng start"
}
}
Create bisheng.config.js
, otherwise bisheng
will use the default config:
module.exports = {
source: './posts',
output: './_site',
theme: './_theme',
port: 8000,
};
Note: please make sure that source
and theme
exists, and theme
should not be an empty directory. Just use bisheng-theme-one, if you don't know how to develop a theme. See a simple demo here.
Now, just run npm start
.
We can install bisheng
as a cli command and explore what it can do by bisheng -h
. However, the recommended way to use bisheng
is to install it as devDependencies
.
$ npm install -g bisheng
$ bisheng -h
Usage: bisheng [command] [options]
Commands:
start [options] to start a server
build [options] to build and write static files to `config.output`
gh-pages [options] to deploy website to gh-pages
help [cmd] display help for [cmd]
Options:
-h, --help output usage information
-V, --version output the version number
bisheng
will read bisheng.config.js
as its config file, but we can set the config file name by --config
, something like this bisheng --config another.config.js
.
The content of bisheng.config.js
looks like this:
module.exports = {
port: 8000,
source: './posts',
output: './_site',
theme: './_theme',
htmlTemplate: path.join(__dirname, '../template.html'),
devServerConfig: {},
webpackConfig(config) {
return config;
},
hash: false,
entryName: 'index',
root: '/',
};
default: 8000
To set the port which will be listened when we start a local server.
default: './posts'
To set directory/directories where we place Markdown files.
And all the Markdown files in source
will be parsed and then structured as a tree data, for example:
posts
└── dir1
├── a.md
└── b.md
Will output a Markdown data tree:
{
dir1: {
a: {...},
b: {...},
},
}
And each Markdown file will be parsed as a Markdown data. Actually, a Markdown data is the returned value of mark-twain, and it could be preprocessed by plugins.
default: null
If you want to exclude some files in your source
, just use exclude
. Then bisheng will not parse files which match exclude
.
default: './_site'
To set directory where bisheng
will generate (HTML & CSS & JavaScript) files to.
default: './_theme'
To set directory where we put the theme of website, and it also can be a npm package name.
undefined
A set of configuration that your theme provides, and then your theme can read it from props.themeConfig
.
Note:
themeConfig
will beJSON.stringify
before it's passed to props, so you cannot pass function/RegExp throughthemeConfig
.
default:
bisheng/lib/template.html
The HTML template which will be use to generate HTML files which will be sent to users.
Note: template will be parsed by nunjucks, and you can use the following variables in this template:
root
default:
{}
The Extra Data which will be used to render htmlTemplate.
default: {}
You can consult webpack-dev-server's documentation.
default: {
plugins: [
rucksack(),
autoprefixer({
browsers: ['last 2 versions', 'Firefox ESR', '> 1%', 'ie >= 8', 'iOS >= 8', 'Android >= 4'],
}),
],
}
You can consult webpack postcss-loader's documentation.
default: (config) => config
To modify the webpack config, you can extend the config like this.
[{ test: /.md$/, use: MarkdownTransformer }]
A list of transformers that will be used to transform static files.
default: 'index'
The name of files which will be generated by webpack, such as [entryName].js
& [entryName].css
.
default: '/'
If the website will be deployed under a sub-directory of a domain (something like http://benjycui.github.io/bisheng-theme-one/
), we must set it (such as /bisheng-theme-one/
).
MIT