Git Product home page Git Product logo

visit-counter's Introduction

visit-counter

基于 cloudflare workers 和 preact ssr 的网络访问计数器

visit-counter

使用

命令说明

  • vite:build 构建
  • vite:build-watch 监听文件持续构建
  • wrangler:dev 启动本地开发
  • wrangler:publish 打包并上传部署

访问

可在请求的 URL 的 query 传入两个参数

  • key 可选的, 需要计数的 key

  • start 可选的, 起始计数

访问新 key

如果 KV 没有 secret 值, 可访问任意 key

如果 KV 有 secret 值, 需要在 query 设置 secret=${secret} 然后访问一次

示例

当前访问次数visit-counter

visit-counter's People

Contributors

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