Giter Site home page Giter Site logo

prb0t / misskey Goto Github PK

View Code? Open in Web Editor NEW

This project forked from misskey-dev/misskey

0.0 0.0 0.0 12.07 MB

A planet of fediverse โœจ๐Ÿข๐Ÿš€โœจ

Home Page: https://misskey.xyz

License: GNU Affero General Public License v3.0

Python 0.01% JavaScript 1.94% Shell 0.04% TypeScript 40.48% CSS 0.89% Vue 55.05% HTML 1.40% C++ 0.19%

misskey's Introduction

๐Ÿค– PRB0t

The Pull Request Bot for Anonymous contributions on GitHub!


With PRB0t you can make pull request on GitHub by using a JSON description of the changes.

Install

npm install -S @prb0t/pr

Usage

const pr = new PR(body.user, body.repo, body.branch, body.token);

pr.configure(
  [{ path: '<file-path>', content: '<file-content>' }],
  '<commit-message>',
  '<title>',
  '<description>',
  body.author || {
    name: 'PRB0t',
    email: '[email protected]',
  },
);

const { data } = await pr.send(); // data holds the response of the PR creation.

with docker:

docker run --rm p 8000:8000 ideabile/prb0t

What can you do with it?

  • If you have a static website hosted in github... you could add a button Edit this page.
  • You can contribute anonymously to the Internet ๐Ÿ•ธ
  • You can upload files...
  • You can use your github for storage...
  • ... etc... ecc..

Try it!

curl -X POST \
  https://xrbhog4g8g.execute-api.eu-west-2.amazonaws.com/prod/prb0t \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -d '{
  "user": "PRB0t",
  "repo": "PRB0t",
  "description": "๐Ÿค–",
  "title": "Dare to try",
  "commit": "a try",
  "files": [
  	{"path": "README.md", "content": "Failure is when you stop trying to do something."}
  ]
}'

Contribute

We're looking for Team members to form a little community around this little tool which we believe has a lot of potentialities โœจ

misskey's People

Contributors

2vg avatar akihikodaki avatar angristan avatar ayamorisawa avatar conan-kun avatar greenkeeper[bot] avatar ha-dai avatar l2dy avatar mareklach avatar marihachi avatar mei23 avatar otofune avatar otya128 avatar rinsuki avatar saper avatar syuilo avatar tamaina avatar thekinrar avatar tosuke avatar unarist avatar xps2 avatar xreiju avatar

Watchers

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