GithubHelp home page GithubHelp logo

justjavac / node-auto-green Goto Github PK

View Code? Open in Web Editor NEW
30.0 3.0 9.0 12 KB

自动保持 GitHub 提交状态常绿 a commit every day, keep your girlfriend far away.

License: MIT License

JavaScript 100.00%

node-auto-green's Introduction

node-auto-green

Build Status

自动保持 GitHub 提交状态常绿。

a commit a day keeps your girlfriend away.

node-auto-green 是 auto-green 的 Node.js 版本。源自一个 issue Actions 被禁用,请问是否有腾讯云函数的版本,于是我用 Node.js 开发了一个版本。

安装

$ npm install auto-green

或者使用 yarn:

$ yarn add auto-green

使用

const autoGreen = require('auto-green')

const owner = 'justjavac'
const repo = 'tencent-clound-auto-green-test'
const auth = '此处填写 person token'

autoGreen({
  owner,
  repo,
  auth,
  debug: true, // 开启调试模式
})

认证

参数 auth 用于认证。

进入 GitHub 的 Personal access tokens 页面,点击 “Generate new token” 按钮。此步骤会提示你输入密码,然后进入新建页面。

勾选 repo/public_repo,点击下面的 “Generate token” 按钮。

注意:token 生成后只会显示一次,因此你必须复制 token 后再刷新页面。如果你忘了复制 token,你可以重写生成新的 token。

License

node-auto-green is released under the MIT License. See the bundled LICENSE file for details.

node-auto-green's People

Contributors

justjavac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

node-auto-green's Issues

云函数版本报错

函数配置如下

image

报错信息

image

提示信息貌似是没有发现模块,是我函数执行入口写错了还是node依赖没有安装成功呢。麻烦作者帮忙看一下,谢谢。

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.