GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - spread-the-code/git-commiter-nodejs: A nodejs server that receive files and commit them to github

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
__mocks__/simple-git
__mocks__/simple-git
 
 
__tests__
__tests__
 
 
assets
assets
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.slugignore
.slugignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
jest.config.js
jest.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
tslint.json
tslint.json
 
 
wallaby.js
wallaby.js
 
 

Repository files navigation

Build Status Coverage Status

A nodejs server that recieve files and commit them to github repo

Installation

Local

  1. npm install
  2. npm start
  3. POST the payload (below) to http//localhost:3000/commit

Production

Recommended way - git clone and deploy with a ci system
(such as heroku . Read the guide)

Usage

POST this payload:

{
  "remoteRepo": "{owner}/{repository_name}",
  "token": "{personal_access_token}",
  "commitMessage": "{commit_message}",
  "files": [
    {
      "path": "path/to/first-file.txt",
      "content": "content of first-file.txt"
    },
    {
      "path": "path/to/second-file.txt",
      "content": "content of second-file.txt"
    }
  ]
}

personal_access_token - Meant to allow the server to commit on your behalf. How do I get this token?

About

A nodejs server that receive files and commit them to github

Topics

commitgitnodejstypescript

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.