Home

Awesome

<h1 align="center"> <a href="https://github.com/dec0dOS/amazing-github-template"> <img src="{{cookiecutter.repo_slug}}/docs/images/logo.svg" alt="Logo" width="125" height="125"> </a> </h1> <div align="center"> Amazing GitHub Template - Sane defaults for your next project! <br /> <br /> <a href="https://github.com/dec0dOS/amazing-github-template/issues/new?assignees=&labels=bug&template=01_BUG_REPORT.md&title=bug%3A+">Report a Bug</a> ยท <a href="https://github.com/dec0dOS/amazing-github-template/issues/new?assignees=&labels=enhancement&template=02_FEATURE_REQUEST.md&title=feat%3A+">Request a Feature</a> . <a href="https://github.com/dec0dOS/amazing-github-template/discussions">Ask a Question</a> </div> <div align="center"> <br />

license

PRs welcome made with hearth by dec0dOS

</div> <details open="open"> <summary>Table of Contents</summary> </details>

About

<table> <tr> <td>

Open Source Software is not about the code in the first place but the communications and community. People love good documentation and obvious workflows. If your software solves some problem, but nobody can figure out how to use it or, for example, how to create an effective bug report, there's something very bad going on. Did you hear about Readme Driven Development? Check out the awesome article written by GitHub co-founder Tom Preston-Werner.

There are many great README or issues templates available on GitHub, however, you have to find them yourself and combine different templates yourself. In addition, if you want extensive docs like CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md or even advanced GitHub features like a pull request template, additional labels, code scanning, and automatic issue/PR closing and locking you have to do much more work. Your time should be focused on creating something amazing. You shouldn't be doing the same tasks over and over like creating your GitHub project template from scratch. Follow the donโ€™t repeat yourself principle. Use a template and go create something amazing!

Key features of Amazing GitHub Template:

<details open> <summary>Additional info</summary> <br>

This project is the result of huge research. I'm a long-time GitHub user so I've seen more than 7.3k READMEs so far. I've started writing docs for my open source projects (that are currently in their early stages so they exist in the private space for now). After I've analyzed many popular GitHub READMEs and other GitHub-related docs and features I've tried to create a general-propose template that may be useful for any project.

Of course, no template will serve all the projects since your needs may be different. So Cookiecutter comes to the rescue. It allows Jinja template language to be used for complex cases. Just enter up the project preferences you want in the Cookiecutter interactive menu and that's it. There is a manual setup that could be useful for your existing projects (or if you don't want to use Cookiecutter for some reason). This README.md file is not a template itself, you should download the precompiled template and replace the predefined values, then remove unused sections.

</details> </td> </tr> </table>

Built With

Getting Started

Prerequisites

The recommended method to install Amazing GitHub Template is by using Cookiecutter. For manual install please refer to manual setup section.

The easiest way to install Cookiecutter is by running:

pip install --user cookiecutter

For other install options, please refer to Cookiecutter installation manual.

Usage

Cookiecutter template

After installing Cookiecutter, all you need to do is to run the following command:

cookiecutter gh:dec0dOS/amazing-github-template

You will get an interactive prompt where you'll specify relevant options for your project (or the default value will be used).

Preview

Manual setup

Please follow these steps for manual setup:

  1. Download the precompiled template

  2. Replace all the variables to your desired values

  3. Initialize the repo in the precompiled template folder

    or

    Move the necessary files from precompiled template folder to your existing project directory. Don't forget the .github directory that may be hidden by default in your operating system

Variables reference

Please note that entered values are case-sensitive. Default values are provided as an example to help you figure out what should be entered.

On manual setup, you need to replace only values written in uppercase.

NameDefault valueDescription
PROJECT_NAMEMy Amazing ProjectYour project name
REPO_SLUGmy-amazing-projectRepo slug must match the GitHub repo URL slug part
GITHUB_USERNAMEdec0dOSYour GitHub username without @
FULL_NAMEAlexey PotapovYour full name
OPEN_SOURCE_LICENSEMIT licenseFull OSS license name
modern_headeryUse HTML to prettify your header
table_in_aboutnUse table to wrap around About section
include_logoyInclude Logo section. Only valid when modern_header == y
include_badgesyInclude section for badges
include_tocyInclude Table of Contents
include_screenshotsyInclude Screenshots section
include_project_assistanceyInclude Project assistance section
include_authorsyInclude Authors & contributors section
include_securityyInclude Security section and SECURITY.md file
include_acknowledgementsyInclude Acknowledgements section
include_code_of_conductyInclude CODE_OF_CONDUCT.md file
include_workflowsyInclude .github/workflows directory
use_codeqlyUse CodeQL
use_conventional_commitsyAdd Conventional Commits notice
use_github_discussionsnUse GitHub Discussions

NOTICE: to use GitHub Discussions, you have to enable it first.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

First off, thanks for taking the time to contribute! Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Please try to create bug reports that are:

Please adhere to this project's code of conduct.

You can use markdownlint-cli to check for common markdown style inconsistency.

Support

Reach out to the maintainer at one of the following places:

License

This project is licensed under the MIT license. Feel free to edit and distribute this template as you like.

See LICENSE for more information.

Acknowledgements

Thanks for these awesome resources that were used during the development of the Amazing GitHub template: