• Stars
    star
    223
  • Rank 177,537 (Top 4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

My static blog template.

unix.bio

Modern static blog template.

中文文档


How to use

This is the source code of my blog.

You can also use this project to build your own blog.

Run npm init unix-bio or yarn create unix-bio to initialize.


Write & Deploy

First, Please make sure your NodeJS is in the latest version.

  1. In project, run npm i to download dependents.

  2. run npm run post to create your post.

  3. run npm run dev to browse development page.

  4. run npm i -g vercel && vercel to deploy. (Default deployment to Vercel)


Features

High optimization

  • High performance optimization thanks to next.js
  • Perfect SEO support
  • High readability
  • Your just need to write


English & Chinese

You can switch languages in the configuration file


Write on MDXJS

  • Full markdown support
  • React Components support
  • More customization possibilities


Dark mode


Mobile


Social Experience


Configuration

First, do not rename any directories! You can start your writing in the posts folder.

In the root directory of the project, you can change the configuration for your blog。

All configuration documents please refer to here


How to migrate

Timely migration can help you get the latest source code, this includes bug fixes and new features.

Fortunately, we have a easy to use migrate tool, just run:

npx unix-bio migrate

Deploy only static (Not recommended)

In a few scenarios, you may want to deploy your blog on a CDN or other static server. Use the following commands to deploy:

npm run export

After running the command, the generated static file will be in the /out directory. If you want to set the prefix of the CDN, please set the environment variable:

# set CDN prefix
export CDN_PREFIX=https://unix.bio
npm run export

LICENSE

MIT

More Repositories

1

func

Modern Command Line Framework.
TypeScript
408
star
2

koa-ts

The best practice of building Koa2 with TypeScript
TypeScript
374
star
3

simpler-paper

elegant document generation tool.
TypeScript
149
star
4

v2ex-cli

v2ex-cli
JavaScript
91
star
5

secret

TypeScript
64
star
6

touch-dog

A modern translation tool.
TypeScript
63
star
7

tcome

NodeJS & Angular4 Blog
JavaScript
54
star
8

views

show your page views without server.
TypeScript
52
star
9

todo-live

A todo list manager in command line.
TypeScript
50
star
10

tcome-frontend

NodeJS&Angular4 BLOG
TypeScript
49
star
11

news-feed

Angular + Electron 桌面应用系列教程
TypeScript
37
star
12

want

commands for humans.
Shell
31
star
13

v-decorators

decorators for vue
JavaScript
31
star
14

euv

IoC with vue
TypeScript
30
star
15

react-native-smartbar

Maybe this is the best tabbar , support android and ios !
JavaScript
29
star
16

cdn-viewer

cdn viewer of packages.
JavaScript
25
star
17

poc.css

Lightweight style file.
SCSS
24
star
18

sendAlert

敏捷,优雅的弹框插件
CSS
22
star
19

DungeonWatchDog

A dungeon finder filter with World of Warcraft
Lua
21
star
20

cool-scroll

cool-scroll
CSS
16
star
21

Nioro

Blizzard Raid frame enhancement.
Lua
14
star
22

vue-auto

Use Vue in a simpler way.
JavaScript
14
star
23

cobot

A user-experience-focused middleware for building Gitlab applications
TypeScript
14
star
24

backset

Minimalist state tool for React apps.
TypeScript
13
star
25

img

Transform images for better display on social site.
JavaScript
12
star
26

next-password

Use password to protect your Next.js application.
TypeScript
11
star
27

back-loader

preload resource repo.
TypeScript
10
star
28

koa-custom-response

standard and convenient KOA2 custom responses.
TypeScript
9
star
29

done

Releaser for semantic version.
TypeScript
9
star
30

pages

make home pages from `readme.md`
JavaScript
8
star
31

aliyun-logs

阿里云日志服务 SDK
TypeScript
8
star
32

blog

archived
7
star
33

taobaoScroller

模仿手机淘宝的上下拉加载
JavaScript
6
star
34

vuepress-theme-zeit

a vuepress theme for zeit design
Vue
6
star
35

easy-jsdelivr

A web tool for jsdelivr cdn.
Vue
6
star
36

exciting-segmented

ios&android segmented
JavaScript
6
star
37

angular-mobile-tips

一个基于angular1.x的移动端弹窗插件
JavaScript
5
star
38

objectSnake

一个简单的js贪吃蛇
JavaScript
4
star
39

nest-prisma-template

A template for creating API services based on NestJS and Prisma.
TypeScript
3
star
40

unix

2
star
41

docs

Programming documentation
JavaScript
2
star
42

docs-cli

The command-line tool for docs
TypeScript
2
star
43

release2

git release generator.
TypeScript
1
star
44

unix.bio-migrate

TypeScript
1
star
45

func-service

Standard tooling for `func` development.
TypeScript
1
star
46

create-vono

TypeScript
1
star
47

create-unix-bio

Installer for unix.bio.
TypeScript
1
star
48

curseforge-release

This is just a template project and nothing is done.
Lua
1
star
49

api-fold-cookies

TypeScript
1
star
50

rehype-join-line

Resolve line breaks in chinese paragraphs.
JavaScript
1
star
51

vono

Vue project template. Geek style.
Vue
1
star
52

notion-board-box

1
star
53

store-now

File store
TypeScript
1
star
54

touch-dog-api

JavaScript
1
star