GithubHelp home page GithubHelp logo

rafalohaki / cloudflare-workers-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gdtool/cloudflare-workers-blog

0.0 1.0 0.0 374 KB

A Blog Powered By Cloudflare Workers and KV

Home Page: https://blog.gezhong.vip/

JavaScript 100.00%

cloudflare-workers-blog's Introduction

这是一个运行在cloudflare workers 上的博客程序,使用 cloudflare KV作为数据库,无其他依赖. 兼容静态博客的速度,以及动态博客的灵活性,方便搭建不折腾. 演示地址: https://blog.gezhong.vip

TG 讨论群: @CloudflareBlog

主要特点

  • 使用workers提供的KV作为数据库
  • 使用cloudflare缓存html来降低KV的读写
  • 所有html页面均为缓存,可达到静态博客的速度
  • 使用KV作为数据库,可达到wordpress的灵活性
  • 后台使用markdown语法,方便快捷
  • 一键发布(页面重构+缓存清理)

承载能力

  • KV基本不存在瓶颈,因为使用了缓存,读写很少
  • 唯一瓶颈是 workers的日访问量10w,大约能承受2万IP /日
  • 文章数:1G存储空间,几万篇问题不大

部署步骤

这里没有实时预览真难受,一系列坑会慢慢填到博客,敬请关注 https://blog.gezhong.vip

更新日志

持续更新地址https://blog.gezhong.vip/article/009000/update-log.html

最近更新(2020-12-31)

  • 2020-12-31:加入sitemap.xml
  • 2020-12-24:本次更新,主要针对seo和阅读次数,以及多项细节优化

后端演示:

捐赠

如果你觉的本项目帮到你了,还请资持一下作者

cloudflare-workers-blog's People

Contributors

gdtool 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.