# Contributing to GitHub Stats Extended ## Local Development To run and test GitHub-Stats-Extended, you need to follow a few simple steps: 1. make sure you have a [Vercel](https://vercel.com/) account 2. Install [Vercel CLI](https://vercel.com/download). 3. Fork the repository and clone the code to your local machine. 4. Run `npm install` in the repository root. 5. Run the command `vercel` in the root and follow the steps there. 6. Run the command `vercel dev` to start a development server at . 7. Create a `.env` file in the root and add the following line `NODE_ENV=development`, this will disable caching for local development. 8. The cards will then be available from this local endpoint (i.e. `http://localhost:3000/api?username=anuraghazra`). > [!NOTE] > You can debug the package code in [Vscode](https://code.visualstudio.com/) by using the [Node.js: Attach to process](https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_setting-up-an-attach-configuration) debug option. You can also debug any tests using the [VSCode Jest extension](https://marketplace.visualstudio.com/items?itemName=Orta.vscode-jest). For more information, see https://github.com/jest-community/vscode-jest/issues/912. ## Themes Contribution We have stopped the addition of new themes to decrease maintenance efforts. If you are considering contributing your theme just because you are using it personally, then instead of adding it to our theme collection, you can use card [customization options](../docs/advanced_documentation.md#customization). ## Translations Contribution GitHub-Stats-Extended supports multiple languages. If we are missing your language, you can contribute it! You can check the currently supported languages [here](../docs/advanced_documentation.md#available-locales). To contribute your language you need to edit the [backend/src/translations.js](../backend/src/translations.js) file and add a new property to each object where the key is the language code in [ISO 639-1 standard](https://www.andiamo.co.uk/resources/iso-language-codes/) and the value is the translated string. ## Any contributions you make will be under the MIT Software License In short, when you submit changes, your submissions are understood to be under the same [MIT License](https://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern. ## Report issues/bugs using GitHub's issues We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/stats-organization/github-stats-extended/issues/new/choose). If there is already an open issue for your bug in the upstream repo [github-readme-stats](https://github.com/anuraghazra/github-readme-stats/issues) you don't need to report it here. ## Frequently Asked Questions (FAQs) **Q:** How to hide Jupyter Notebook? > **Ans:** &hide=jupyter%20notebook **Q:** Language Card is incorrect > **Ans:** Please read all the related issues/comments before opening any issues regarding language card stats: > > - > > - **Q:** How to count private stats? > **Ans:** We can only count public commits & we cannot access any other private info of any users, so it's not possible. The only way to count your personal private stats is to deploy on your own instance & use your own PAT (Personal Access Token) ### Feature Request **Great Feature Requests** tend to have: - A quick idea summary - What & why do you want to add the specific feature - Additional context like images, links to resources to implement the feature, etc.