Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PacHub/pachub
Pacman Github Contributions
https://github.com/PacHub/pachub
Last synced: about 2 months ago
JSON representation
Pacman Github Contributions
- Host: GitHub
- URL: https://github.com/PacHub/pachub
- Owner: PacHub
- License: mit
- Created: 2014-06-27T05:57:09.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T13:01:19.000Z (about 4 years ago)
- Last Synced: 2024-05-30T06:59:32.889Z (4 months ago)
- Language: Shell
- Size: 1.15 MB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Pacman Github Contributions
===========================## Idea
On GitHub user pages the count of contributions per day are visiolized in a calendar of squares. The more the darker the color.
With automatic commits you can draw here a nice pattern to impress visitors to the website.![Pacman preview](/doc/pattern_pacman.png "Pacman pattern preview")
## What we need - Requirements
1. Special GitHub account just for this case
- A computer is always switched on and connected with the internet.
- Linux must be installed on this computer.
- It must be installed git.
- There must be an SSH Key generated and stored at GitHub.
- It has to be written a bash script, what the following things can
- Make file changes in the repo
- Create random commit message
- Git add / commit / push changes
- The number of changes should be configurable## Implementation
- Patterns: [PacMan](https://docs.google.com/spreadsheets/d/1Mj6vluUmvVFT7YDyfH9l50Ao63RBvSivuiPvNyrILFU/edit?usp=sharing "Pacman preview in a excel cheat")
- Create [Issues](docs/issues.md)
- Bash scripting
- Crontab with parameters## Installation
1. Go to your server
- Install the [Requirements](#requirements)
- Clone PacHub
- Install cron job### Clone PacHub
```bash
git clone [email protected]:PacHub/pachub.git
```### Install crontab
```bash
crontab -e
```Then enter:
```bash
0 7 * * * /path/to/pachub.sh /path/to/pachubdir /path/to/git
```## Thank you!
- [Jexchan for multiple GitHub user handling](https://gist.github.com/jexchan/2351996)
- [I think I spider](http://ithinkispider.com/)