Thank you for considering contributing to TermFolio, an interactive terminal-style portfolio template! We welcome your contributions to enhance the project and improve its functionality. Before you start, please review the following guidelines.
There are several ways to contribute to TermFolio:
If you encounter any bugs, please open an issue with the following details:
- Steps to reproduce the issue.
- Expected behavior vs Actual behavior.
- Relevant screenshots or error messages.
Have an idea for a new feature? Please open an issue to discuss your suggestion before starting development. This ensures the idea aligns with the project vision and avoids duplication.
Find an open issue you'd like to work on? Go ahead and submit a pull request if it's unassigned. Make sure to:
- Clearly describe the issue.
- Add tests if applicable.
- Ensure the fix doesn't break existing functionality.
If you'd like to add a feature, open an issue to discuss it first. Once approved, implement your feature and submit a pull request.
Documentation is key to the project's success. If you find any unclear or outdated sections, feel free to submit a pull request.
The project follows this structure:
PortfolioShell/
│── public/ # Static assets
│── src/ # Source code
│ ├── config/ # JSON config files
│ │ ├── user.json # User information
│ │ ├── config.json # Portfolio configuration
│ │ ├── commands.json # Terminal commands
│ ├── js/ # JavaScript files
│ │ ├── script.js # Main terminal interaction
│ │ ├── user.js # Handles user.json
│ │ ├── config.js # Handles config.json
│ │ ├── commands.js # Loads commands.json
│ ├── styles/ # CSS/SCSS for theming
│ │ ├── style.css # Main stylesheet
│── index.html # Main HTML file
│── README.md # Documentation
│── CONTRIBUTING.md # Contribution
- Fork the Repository: Click the "Fork" button at the top-right of the repository page.
- Clone Your Fork:
git clone https://github.com/your-username/PortfolioShell.git
- Create a New Branch:
Name your branch something descriptive likefeature/add-dark-mode.git checkout -b feature/add-dark-mode
- Make Changes: Implement your feature or fix.
- Test Thoroughly: Verify everything works as expected.
- Commit Changes:
Use clear and descriptive commit messages.git commit -m "Added dark mode feature" - Push Changes:
git push origin feature/add-dark-mode
- Open a Pull Request: Describe your changes and why they're necessary.
To maintain code quality, please follow these rules:
- Use 2 spaces for indentation.
- Write clear, descriptive variable names.
- Keep functions small and focused.
- Break down large pull requests into smaller pieces.
- JSON config files go inside
src/config/. - JavaScript files are organized inside
src/js/. - CSS/SCSS files are inside
src/styles/.
Before submitting a pull request, ensure that:
- The project works locally.
- The design is responsive across devices.
- It functions correctly on Chrome, Firefox, and Safari.
Follow these steps to set up TermFolio locally:
- Clone the Repository:
git clone https://github.com/kom-senapati/TerminalFolio.git
- Customize Config Files:
Edituser.json,config.json, andcommands.jsoninsrc/config/. - Modify Styles (Optional):
Customizestyle.cssinsrc/styles/. - Deploy:
Use static hosting platforms like GitHub Pages, Netlify, or Vercel.
By contributing to TermFolio, you agree to follow our Code of Conduct.
- Respect others.
- Be inclusive and welcoming.
- Collaborate constructively.
Thank you for helping make TermFolio better! 🚀