Skip to content

Coke-Code/Blog

Repository files navigation

WissBell Blog

ENGLISH | 简体中文

standard-readme compliant

A simple blog project.

This repository contains:

  1. Custom error capture page
  2. yaml parse article information
  3. markdown parse.
  4. SEO related auxiliary.

Table of Contents

Background

A programmer wants to build a blog with Next.js and TailwindCSS.

Install

This project uses node and npm. Go check them out if you don't have them locally installed.

git clone https://github.com/Coke-Code/Blog.git

Usage

  1. Configure upstashRedis to store access volume data, configure .env to add variables UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN.
  2. Optional Configure beam to count access volume. Configure .env to add variables BEAM_TOKEN.

npm:

# Development debugging
$ npm run dev
# Build package
$ npm run build
# Local start
$ npm run start
# Format code
$ npm run lint

yarn:

# Development debugging
$ yarn dev
# Build package
$ yarn build
# Local start
$ yarn start
# Format code
$ yarn lint

pnpm:

# Development debugging
$ pnpm dev
# Build package
$ pnpm build
# Local start
$ pnpm start
# Format code
$ pnpm lint

Maintainers

@Coke-Code.

Contributing

Feel free to dive in! Open an issue or submit PRs.

Standard Readme follows the Contributor Covenant Code of Conduct.

Contributors

This project exists thanks to all the people who contribute.

License

MIT © Coke-Code

Special thanks

chronark