Giter VIP home page Giter VIP logo

cloudflare-worker-blog's Introduction

CF Blog

App Icon

Cloudflare Workers Blog

Crates.io Build Status Spiget Download Size Relative date

English | 简体中文

Usage

Paste workers.js into the Cloudflare worker panel

How to write a blog

First create a Github project with a random name and then clone the project locally.

# Example
Git clone https://github.com/LittleRey/CloudFlare-Worker-Blog
Cd cloudflare-worker-blog/

Go to the project folder and create a new post folder

Mkdir posts/

Write an article inside, the content is generally suffixed with .md, for example helloworld.md

After writing, go back to the project root directory (that is, the parent directory), and then create a new list.json

List format

[
  {
    "title":"name1",
    "time":"2019-06-01",
    "file":"posts/1.md"
  },
  {
    "title":"name2",
    "time":"2019-06-03",
    "file":"posts/2.md"
  },
  {
    "title":"name3",
    "time":"2019-06-07",
    "file":"posts/3.md"
  } <-- # There is no comma here #
]

cloudflare-worker-blog's People

Contributors

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