Coder Social home page Coder Social logo

fhda-wechat-bot's Introduction

FHDA Wechat Bot

Powered by Wechaty code style: prettier

Requirements

  • OS package

    Current support Ubuntu, MacOS

    • Ubuntu: sudo apt-get install build-essential && sudo snap install shellcheck
    • MacOS: xcode-select --install
  • Python

    • Python environment point to python 2.7
      i.e., when you type python in terminal, the version is 2.7
  • Node

    • Node 10 or above

Install

$ git [email protected]:FHDA/wechat-bot.git
$ cd wechat-bot
$ npm install

Run

$ npm start

Developer

You may need to ask for .env file that we use. Please contact William Chen([email protected]). We recommended use VScode for development

Wechaty

We use package Wechaty

Git push, Commit

We have pre-push, pre-commit, and commit-msg hook powered by husky and lint-staged

If you want to skip these please pass git --no-verify flag into.

git push will automatically update the package version under packages.json

Commit message

We use conventional commit message to make our contributor easy understand code changes

information: Commitlint, Conventional commits

The commit message format:

{type}(scope?): {subject}
body?
footer?

Refer: https://commitlint.js.org/#/concepts-commit-conventions

Commit message type

refer to .commitlintrc.yml

chore:    Change build process, tooling or dependencies.
ci:       Changes to our CI configuration files and scripts
          (example scopes: Travis, Circle, BrowserStack, SauceLabs)
feat:     Adds a new feature.
add:      Adds a new function, class.
fix:      Solves a bug.
docs:     Adds or alters documentation.
style:    Improves formatting, white-space.
refactor: Rewrites code without feature, performance or bug changes.
perf:     Improves performance.
test:     Adds or modifies tests.
revert:   Changes that reverting other changes.
remove:   Remove package, code unused or no longer need.
del:      Delete package, code unused or no longer need (same with remove).

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.