Skip to content

Commit 8dd8e2b

Browse files
committed
Files Uploaded
1 parent 3e37376 commit 8dd8e2b

File tree

14 files changed

+280
-73
lines changed

14 files changed

+280
-73
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Node Dependencies
2+
node_modules/
3+
4+
# Package Managers
5+
package-lock.json

CODE_OF_CONDUCT.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to a positive environment include:
15+
16+
* Using welcoming and inclusive language
17+
* Being respectful of differing viewpoints and experiences
18+
* Gracefully accepting constructive criticism
19+
* Focusing on what is best for the community
20+
* Showing empathy towards other community members
21+
22+
## Enforcement
23+
24+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
25+
reported to the community leaders responsible for enforcement at
26+
27+
28+
## Attribution
29+
30+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
31+
version 2.0, available at
32+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

CONTRIBUTING.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Contributing Guidelines
2+
3+
Thank you for your interest in contributing! This project values clarity, reliability, and professional collaboration.
4+
5+
## How to Contribute
6+
7+
1. **Fork** this repository
8+
2. **Create a new branch** (`feature/my-feature` or `fix/my-fix`)
9+
3. **Commit** your changes with descriptive messages
10+
4. **Open a Pull Request** with a clear explanation of what you’ve done
11+
12+
## Code Standards
13+
14+
- Follow modern ES6+ JavaScript practices
15+
- Maintain consistent indentation and formatting
16+
- Ensure commits are clear and atomic
17+
- Use descriptive PR titles following Conventional Commits (`feat:`, `fix:`, `docs:`)
18+
19+
## Documentation
20+
21+
If you modify functionality, update relevant documentation:
22+
- README.md for user-facing behavior
23+
- SETUP_GUIDE.md for setup steps
24+
- TROUBLESHOOTING.md for known issues

FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: [KaloudasDev]
2+
ko_fi: kaloudasdev

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Kaloudas
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 76 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,79 @@
1-
𝐃𝐨 𝐍𝐨𝐭 𝐃𝐞𝐥𝐞𝐭𝐞 𝐓𝐡𝐢𝐬 𝐑𝐞𝐩𝐨𝐬𝐢𝐭𝐨𝐫𝐲!
2-
Because the Contribution Graph was going to be reseted!
1+
# Contribution Graph Generator
32

4-
Update VSC Files On GitHub:
3+
Professional Node.js automation system that generates realistic GitHub contribution graphs programmatically.
54

5+
## Overview
66

7-
git add .
8-
git commit -m "Commit Message"
9-
git push origin main
7+
This repository provides a production-ready automation script designed to simulate authentic GitHub activity patterns across an entire year.
8+
It intelligently distributes commits based on seasonal trends, weekends, and configurable activity ratios — creating natural, human-like commit graphs.
9+
10+
## Features
11+
12+
- **Realistic Commit Patterns** – Seasonal behavior with active weekdays and light summer activity
13+
- **Year Configuration** – Generate commits for any selected year
14+
- **Smart Scheduling** – Pushes progress weekly or on Sundays
15+
- **Fully Automated** – Requires only one command to generate all commits
16+
- **Professional Documentation** – Complete setup, configuration, and security guidance
17+
18+
> [!TIP]
19+
> All generated commits are timestamped for authenticity and automatically pushed to the selected Git branch.
20+
21+
## Quick Start
22+
23+
```bash
24+
# Clone the repository
25+
git clone https://github.com/yourusername/contribution-graph.git
26+
cd contribution-graph
27+
28+
# Install dependencies
29+
npm install
30+
31+
# Configure project
32+
nano config.js
33+
34+
# Generate commits
35+
npm run generate
36+
````
37+
38+
> [!WARNING]
39+
> Ensure your Git repository is initialized and connected to a remote before running the generator.
40+
> Running this script modifies your commit history.
41+
42+
## Configuration
43+
44+
Edit `config.js` to define:
45+
46+
* **year:** The target year for commit generation
47+
* **targetCommits:** Approximate number of commits for the year
48+
* **activeDaysPercentage:** Probability of active days (0–1 range)
49+
* **pushOnSunday:** Whether to automatically push on Sundays
50+
51+
Example:
52+
53+
```js
54+
export const CONFIG = {
55+
year: 2025,
56+
targetCommits: 1000,
57+
activeDaysPercentage: 0.7,
58+
pushOnSunday: true
59+
};
60+
```
61+
62+
## Documentation
63+
64+
* [**Setup Guide**](docs/SETUP_GUIDE.md) – Complete installation and usage instructions
65+
* [**Troubleshooting**](docs/TROUBLESHOOTING.md) – Common errors and resolutions
66+
* [**Eligibility**](docs/ELIGIBILITY.md) – Requirements for commit simulation and contribution visibility
67+
68+
## Requirements
69+
70+
* **Node.js** v16.0 or higher
71+
* **Git** installed and configured
72+
* **Internet connection** for pushing commits
73+
74+
## License
75+
76+
This project is licensed under the [MIT License](LICENSE).
77+
78+
> [!NOTE]
79+
> Contribution Graph Generator is an educational tool designed for learning Git automation and scripting techniques.

SECURITY.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
Security updates and dependency patches are provided for the latest release version only.
5+
6+
## Reporting a Vulnerability
7+
Please report security vulnerabilities privately via email:
8+
9+
10+
11+
Do not open public issues for security vulnerabilities.
12+
13+
## Guidelines
14+
- Never commit tokens, API keys, or personal credentials
15+
- Use environment variables for sensitive configurations
16+
- Keep dependencies updated regularly
17+
- Review commit history for unintended secrets before pushing

config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export const CONFIG = {
2+
year: 2025,
3+
targetCommits: 1000,
4+
activeDaysPercentage: 0.70,
5+
pushOnSunday: true
6+
};

data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"date":"2022-12-27T17:07:52+02:00"}
1+
{}

docs/ELIGIBILITY.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Contribution Eligibility
2+
3+
To ensure commits appear correctly on your GitHub profile:
4+
5+
1. Commits must be made **with the same email** as your GitHub account
6+
2. The repository must be **public**
7+
3. Commits must have **valid timestamps** within the selected year
8+
4. Git pushes must target **your main branch**
9+
10+
> [!NOTE]
11+
> If your commits are not showing, verify your Git configuration with:
12+
> ```bash
13+
> git config user.email
14+
> ```

0 commit comments

Comments
 (0)