Giter VIP home page Giter VIP logo

cmoe-counter's Introduction

CMoe-Counter

多种风格可选的萌萌计数器的简易C语言版本

More theme
moebooru(mb)

moebooru

rule34(r34)

Rule34

gelbooru(gb)

Gelbooru

Usage

Follow the instructions in that repo to install it.

2. Install simple-protobuf

Follow the instructions in that repo to install it.

3. Install CMoe

git clone https://github.com/fumiama/CMoe-Counter.git
cd CMoe-Counter
mkdir build
cd build
cmake ..
make
# make install

4. Copy files to web root

  1. Copy favicon.ico, index.html, style.css and the compiled binary cmoe (in the build folder) into the same folder.
  2. Run simple-http-server by the command
simple-http-server -d port folder

5. Enjoy it!

You can change token and datafile by passing env TOKEN & DATFILE.

API

The API of CMoe is simpler than Moe-counter

1. Register

http://yourdomain/cmoe?name=yourname&reg=token

2. Refer

http://yourdomain/cmoe?name=yourname(&theme=mb/mbh/gb/gbh/r34)

That's all.

Credits

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.