GithubHelp home page GithubHelp logo

bluerangala / yuque-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from x-cold/yuque-blog

0.0 1.0 0.0 188 KB

基于语雀作为后台实现的博客系统

Home Page: https://txd.alibaba-inc.com/

License: MIT License

JavaScript 49.59% CSS 50.11% Dockerfile 0.30%

yuque-blog's Introduction

yuque-blog

yuque—blog 是一款基于语雀内容管理平台的博客系统,用户可以在语雀上进行文档仓库的管理,然后在自定义的站点中展示这些内容

主要特性

  • 优秀的文档编辑和管理体验(Powered by 语雀)
  • 极速输出博客页面
  • 可定制的博客主题
  • 支持服务端渲染
  • 支持 PWA 及离线访问
  • 便捷的运维体验,提供一键部署的 Docker 镜像

技术栈

  • 后端:Beidou (基于 Egg 和 React 的高性能同构框架)
  • 前端:React / Reach-Router / Mobx / Axios / Mock.js / WorkBox

配置文件

config.yml

# 主题
theme: txd

# 语雀 API 设置
yuque:
  base: https://www.yuque.com/api/v2
  login: yinzhi
  repo: blog

# Site
title: 小冷的备忘录
subtitle: 但凡能引起思考的句子,都是些好句子
keywords: 小冷的备忘录,HTML/CSS/JAVASCRIPT,前端工程师,Angular,Ionic,Vue,React,Node.js,Powershell,Qt5
description: 小冷的备忘录,HTML/CSS/JAVASCRIPT,前端工程师,Angular,Ionic,Vue,React,Node.js,Powershell,Qt5
author: 小冷
language: zh-CN

# 友情链接
links:
  -
    name: 阿里巴巴
    url: https://www.alibaba.com
  -
    name: 阿里巴巴国际UED
    url: http://www.aliued.com/
  -
    name: 阿里巴巴U一点
    url: http://www.aliued.cn/

# 导航链接
navigators:
  -
    name: HOME
    url: /
  -
    name: BLOG
    url: /blogs

Usage

Install

npm install

启动开发环境

npm run dev

生产环境前端构建

npm run build

生产环境开启

npm start

访问: http://localhost:6001/

Docker

$ docker build -t egg-boilerplate .
$ docker run -p 7001:7001 egg-boilerplate

TODO

  • 后端项目初始化
  • 前端项目初始化
  • 语雀仓库相关开放 API 服务
  • 接口单元测试
  • 接口代理开发
  • mock 数据准备
  • PWA 整站离线支持
  • 页面开发
  • 内容可配置
  • 主题可定制
  • 页面优化

License

MIT

yuque-blog's People

Contributors

x-cold avatar ghostdar avatar snyk-bot avatar dependabot[bot] avatar k-water avatar

Watchers

James Cloos avatar

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.