Code Monkey home page Code Monkey logo

chiblog's Introduction

chiblog

A light, concise and pluggable blogging platform frontend

recommended configuration file editor: chiblog-editor

Fast-use (Deploy in Docker/Podman):

Tips: Podman is strongly recommended rather than Docker, futher information: https://blog.chihuo2104.dev/posts/comment-fixed-and-hi-podman (Chinese Simplified Only).

podman run -dit -p 3000:3000 --name my-chiblog-container -e NUXT_CHIBLOG_CONFIG_TYPE=production -e NUXT_CHIBLOG_CONFIG_URL=myurl ghcr.io/chi-net/chiblog

use docker instead:

docker run -dit -p 3000:3000 --name my-chiblog-container -e NUXT_CHIBLOG_CONFIG_TYPE=production -e NUXT_CHIBLOG_CONFIG_URL=myurl ghcr.io/chi-net/chiblog

And .env file is also available to define an environment variable.

Environmental Variables

Name Description Required
NUXT_CHIBLOG_CONFIG_TYPE configuration type for chiblog(mocks/production) True
NUXT_CHIBLOG_CONFIG_URL if the config type is 'production', it provides the server with your production JSON path Optional
NUXT_CHIBLOG_AI_API_KEY if you want to use the AI option, in order to guard your API secret key, you have to pass it through the environmental variables Optional
NUXT_CHIBLOG_IGNORE_BETA_TIPS ignore BETA warning tip Optional

If you want to try dev version, just add a dev tag!

This application is licensed under GPL-3 license.

Debug and develop this application

We use pnpm as our package manager.

Install Dependencies: pnpm i

Generate Static Site: pnpm generarte

Open a Develop Server: pnpm dev

Build This Application to SSR: pnpm build

More Documentation is in https://chiblog.chinet.work/

chiblog's People

Contributors

chihuo2104 avatar

Stargazers

FloatSheep avatar Junde Yhi avatar awaae avatar ワールドキュート avatar טפל בלוט avatar  avatar Acbox Liu avatar Ray avatar Muji Togawa avatar zzjzxq33 avatar scientificworld avatar 柏园猫 avatar Lockinwize Lolite avatar

Watchers

 avatar Lockinwize Lolite avatar

chiblog's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.