Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nikhil-swamix/gitcron

GitCron Commits continuously at given intervals so that our github activity looks green. helps to create impression that we are active on github.
https://github.com/nikhil-swamix/gitcron

Last synced: 15 days ago
JSON representation

GitCron Commits continuously at given intervals so that our github activity looks green. helps to create impression that we are active on github.

Awesome Lists containing this project

README

        

# Hey Recruiter / Interviewer
if you reached here by viewing my resume, yes this is live demo of my technical expertise. this project is assurance that i can get stuff done on cloud, and any automation task you can imagine. we are speaking of high level autonomy here.

## What Does this do?
Gitcron commits a small change in code to github code repository, it creates impression that im working round the clock. this was a Cloud automation project by Nikhil swami (the webmaster)! every 10 mins it changes small code, and the AWS EC2 instance (ie the cloud computer) pushes the code to this repo. and that eventually adds up to my contributions activity, and appears green as you can see here [BinarySwami-10](https://github.com/BinarySwami-10)

## Setup Instructions : HOW TO INSTALL ON YOUR SERVER
this image tells the process to integrate gitcron on your server so you can automate github. this was made with https://mermaid.live/ website. very cool programmatic flowchart generator.

[![](https://mermaid.ink/img/eyJjb2RlIjoiZmxvd2NoYXJ0IFREXG4gICAgc3ViZ3JhcGggUHJvY2VkdXJlXG4gICAgICAgIGRpcmVjdGlvbiBMUlxuICAgICAgICBTMFtmb3JrIHRoaXMgcmVwbyB0byB5b3VyIGdpdGh1Yl0gPT0-IFMxW1xcXCJTVEFHRSAxXCIvXSBcbiAgICAgICAgUzJbXFxcIlNUQUdFIDJcIi9dXG4gICAgICAgIFxuICAgIGVuZFxuXG4gICAgc3ViZ3JhcGggcHJvY2VzcyAxXG4gICAgICAgIGRpcmVjdGlvbiBMUlxuICAgICAgICBSW1wiR2l0Q3JvbiBSZXBvc2l0b3J5XCJdIC0tPiB8Y2xvbmV8IEFbKEFXUyBFQzIgSW5zdGFuY2UgZmE6ZmEtc2VydmVyKV07XG4gICAgICAgIFMxIC0tPiBSIDtcbiAgICAgICAgQSAtLT4gfFNTSCBhcyBTdWRvIFVzZXJ8IEJ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gIFMxIC0tPiBSIDtcbiAgICAgICAgQSAtLT4gfFNTSCBhcyBTdWRvIFVzZXJ8IEJPWDFbUmVhZCBhbmQgTW9kaWZ5IFxcbiBTY3JpcHQgaW5zdGFsbC5jcm9uLnNoIFxcbiB3aXRoIHlvdXIgZ2l0aHViIGNyZWRlbnRpYWxzIFxcbiBhbmQgZXhlY3V0ZV1cbiAgICAgICAgQk9YMSAtLT4gUzJcbiAgICBlbmRcblxuICAgIFxuICAgIFxuICAgIHN1YmdyYXBoIHByb2Nlc3MgMlxuICAgICAgICBTMiAtLT4gQk9YMltjb3B5IGdpdGNyb24uc2ggdG8gL3Jvb3QvIF0gO1xuICAgICAgICBCT1gyIC0tPiBCT1gzW2NoZWNrIHdldGhlciBjb21taXRzIFxcbiBhcmUgcnVubmluZyBvbiBnaXRodWIgXFxuIGFuZCBhY3Rpdml0eSBpcyBzaG93aW5nXSAtLT4gU1VDQ0VTU1xuICAgICAgICBcbiAgICBlbmRcbiAgICBcbiAgICBcbiAgICBcbiAgICAgXG4gICAgXG4iLCJtZXJtYWlkIjoie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOmZhbHNlfQ)

Source code for mermaid flowchart as given above, im not expert, but somehow made it so beginners can understand better using visual illustration.

## Flowchart sourcecode for curious people

```
flowchart TD
subgraph Procedure
direction LR
S0[fork this repo to your github] ==> S1[\"STAGE 1"/]
S2[\"STAGE 2"/]
end
subgraph process 1
direction LR
R["GitCron Repository"] --> |clone| A[(AWS EC2 Instance fa:fa-server)];
S1 --> R ;
A --> |SSH as Sudo User| BOX1[Read and Modify \n Script install.cron.sh \n with your github credentials \n and execute]
BOX1 --> S2
end
subgraph process 2
S2 --> BOX2[copy gitcron.sh to /root/ ] ;
BOX2 --> BOX3[check wether commits \n are running on github \n and activity is showing] --> SUCCESS
end
```

## Notes
- its designed for linux servers, but can work on windows
- in windows you can add it to task scheduler, or background task. just use the commit script.