GithubHelp home page GithubHelp logo

josee9988 / project-template Goto Github PK

View Code? Open in Web Editor NEW
760.0 27.0 134.0 163 KB

An awesome ๐—š๐—ถ๐˜๐—ต๐˜‚๐—ฏ ๐—ง๐—ฒ๐—บ๐—ฝ๐—น๐—ฎ๐˜๐—ฒ for any project!๐Ÿš€ Quickstart your projects and get control over your community.๐Ÿ”ฅ It includes ๐ข๐ฌ๐ฌ๐ฎ๐ž ๐ญ๐ž๐ฆ๐ฉ๐ฅ๐š๐ญ๐ž๐ฌ, ๐ฅ๐š๐›๐ž๐ฅ๐ฌ, ๐ฉ๐ž๐ซ๐ฌ๐จ๐ง๐š๐ฅ๐ข๐ณ๐ž๐ ๐ซ๐ž๐š๐๐ฆ๐ž, ๐†๐ข๐ญ๐ก๐ฎ๐› ๐›๐จ๐ญ๐ฌ, and much more!! ๐Ÿคฉ

Home Page: https://github.com/Josee9988/project-template/generate

License: MIT License

Shell 100.00%
template templates template-project template-repository github-templates github-template readme-template changelog-generator community issue-template

project-template's Introduction

๐Ÿ”ฅ Josee9988's GitHub Project Template

@Josee9988/project-template's
@Josee9988/project-template's issues @Josee9988/project-template's pull requests @Josee9988/project-template link to create a new repository from the template @Josee9988/project-template's tests


๐Ÿค” What is this template all about?

  • This template can be used as a base layer for any of your future repositories/projects.
  • Make your project easy to maintain with 8 issue templates.
  • Quick start your documentation with personalized README badges and an extraordinary README structure.
  • Manage your issues with 20 issue labels created just for you!
  • Make your community healthier with all the guides like code of conduct, contributing, support, security...
  • Learn more with the official GitHub guide on creating repositories from a template.
  • To start using it; "click use this template" and create your new repository,
  • All the basic setup is made through an easy script that will auto-detect all your data to make it lightning fast! ๐Ÿ—ฒ๐Ÿ—ฒ Clone your new repository and execute the SETUP_TEMPLATE.sh shell script to personalize the files with your private details. Check how to run it here.
  • All the markdown follows "MarkdownLint" rules.

โšก Installation

  1. To create a new repository from this template, generate your new repository from this template; for more information or guidance, follow the GitHub guide.

  2. Install the ๐Ÿค– used GitHub bots (recommended)

  3. Clone your new repository generated from this template and cd into it.

  4. Execute the SETUP_TEMPLATE.sh shell script to customize the files with your data.

    bash SETUP_TEMPLATE.sh

    Or

    ./SETUP_TEMPLATE.sh

    Additionally, watch this video to see how to execute the script or use bash SETUP_TEMPLATE.sh --help to obtain some extra information.

    If the automatic detection of the username, project name or email is NOT correct, please post an issue, and you can manually correct them using the optional arguments like: bash SETUP_TEMPLATE.sh --username=whatever --projectName=whatever --email=whatever --projectType=whatever

  5. Review every single file and customize it as you like.

  6. Build your project. ๐Ÿš€

โš ๏ธ Customize every file to fit your requirements โš ๏ธ


๐Ÿ“š What does it include?

  1. A SETUP_TEMPLATE.sh script that MUST be executed right when you clone your repository. The script will customize all the data with yours in all the files.

    1. A README template file with a default template to start documenting your project. (it includes personalized badges and text with your project details)
    2. A CHANGELOG template file based on Keep a Changelog.
    3. An issue_label_bot.yaml file to use the issue adder GitHub bot. Activate it or check its documentation.
    4. A config.yml file to modify multiple bot's behaviours.
    5. A settings.yml file to use the popular settings GitHub bot. Activate it or check its documentation.
    6. A CONTRIBUTING explaining how to contribute to the project. Learn more with the GitHub guide.
    7. A SUPPORT explaining how to support the project. Learn more with the GitHub guide.
    8. A SECURITY with a guide on how to post a security issue. Learn more with the GitHub guide.
    9. A CODEOWNERS with the new user as the principal owner. Learn more with the GitHub guide.
    10. A CODE_OF_CONDUCT with a basic code of conduct. Learn more with the GitHub guide.
    11. A PULL_REQUEST_TEMPLATE with a template for your pull request that closes issues with keywords. Learn more with the GitHub guide.
    12. Multiple issues templates. Learn more with the GitHub guide.
      1. A config.yml with the config and information about the issue templates.
      2. A Blank issue template with the super basic stuff, all the issues should contain.
      3. A Bug issue template.
      4. A Failing test issue template.
      5. A Documentation issue template.
      6. A Feature request issue template.
      7. An Enhancement request issue template.
      8. A Security report issue template.
      9. A Question or support issue template.

๐ŸŒฒ Project tree

Files that will get removed after the execution of SETUP_TEMPLATE.sh are not shown! ๐Ÿ™ˆ

.
โ”œโ”€โ”€ CHANGELOG.md
โ”œโ”€โ”€ .github
โ”‚   โ”œโ”€โ”€ CODE_OF_CONDUCT.md
โ”‚   โ”œโ”€โ”€ CODEOWNERS
โ”‚   โ”œโ”€โ”€ config.yml
โ”‚   โ”œโ”€โ”€ CONTRIBUTING.md
โ”‚   โ”œโ”€โ”€ FUNDING.yml
โ”‚   โ”œโ”€โ”€ issue_label_bot.yaml
โ”‚   โ”œโ”€โ”€ ISSUE_TEMPLATE
โ”‚   โ”‚   โ”œโ”€โ”€ 1-bug-report.md
โ”‚   โ”‚   โ”œโ”€โ”€ 2-failing-test.md
โ”‚   โ”‚   โ”œโ”€โ”€ 3-docs-bug.md
โ”‚   โ”‚   โ”œโ”€โ”€ 4-feature-request.md
โ”‚   โ”‚   โ”œโ”€โ”€ 5-enhancement-request.md
โ”‚   โ”‚   โ”œโ”€โ”€ 6-security-report.md
โ”‚   โ”‚   โ”œโ”€โ”€ 7-question-support.md
โ”‚   โ”‚   โ””โ”€โ”€ config.yml
โ”‚   โ”œโ”€โ”€ ISSUE_TEMPLATE.md
โ”‚   โ”œโ”€โ”€ pull_request_template.md
โ”‚   โ”œโ”€โ”€ SECURITY.md
โ”‚   โ”œโ”€โ”€ settings.yml
โ”‚   โ””โ”€โ”€ SUPPORT.md
โ”œโ”€โ”€ .gitignore
โ””โ”€โ”€ README.md

2 directories, 22 files

๐Ÿ“ Additional notes

  • After generating your new repo with this template, make sure to, right after you clone it, run the script SETUP_TEMPLATE.sh.

  • Then, after 'cloning' the repository you will be presented with all the files modified with your project details and information. It is essential to manually review every file to check if it fits your requirements and performs any necessary changes to customize the project as you want.

  • If you are using Windows and you don't know how to execute the SETUP_TEMPLATE.sh script:

    1. Install git for Windows.
    2. Right-click on the git repository folder and click "git bash here".
    3. Then just perform bash SETUP_TEMPLATE.sh or chmod u+x SETUP_TEMPLATE.sh && ./SETUP_TEMPLATE.sh.

๐Ÿค– Used GitHub bots

These are recommended bots that are prepared and configured for this template. If you install them, your coding experience will probably be much better. We sincerely recommend at least installing the issue label bot as this bot is the one that adds all the labels used in the issue templates.

  1. The issue_label_bot.yaml file depends on the issue label bot (โœ“ highly recommended).
  2. The settings.yml file depends on the settings label bot (optional).
  3. The config.yml file depends on the bot welcome bot and to-do bot (optional).

๐Ÿ“ธ Screenshots

A couple of screenshots to delight you before you use this template.

๐Ÿ”บ All the issue templates

All the issue templates.

๐Ÿ”ป An issue template opened

Bug issue template opened.

๐Ÿ“˜ The README template

Badges and texts will be replaced with your project details!

README.md template.

Or watch this video to see the whole README template.

๐Ÿ”– The labels for your issues

If the bot probot-settings is not installed you will not have these beautiful labels! (there are more issue labels than in the image!)

LABELS

๐Ÿ“ The CHANGELOG template

(project name and project type will be replaced with yours)

CHANGELOG.md template.

๐Ÿ›ก๏ธ Security policy

Security issue.

๐Ÿ’ผ Community profile at 100%

Community profile.


๐Ÿ•ต๏ธ Extra recommendations

For the proper maintenance of the CHANGELOG.md, we recommend this VSCode extension and the read and understanding of the keep a changelog guide. Please read and comment about it in this dev.to post. We also recommend installing all the used bots.

๐Ÿ’‰ Project tests

If you want to improve the development of this project, you must, after changing or improving whatever, run the project's tests to prove that they are working.

To do so:

bash tests/TESTS_RUNNER.sh

๐Ÿฐ Supporters and donators

@Josee9988/project-template's brand logo without text

We are currently looking for new donators to help and maintain this project! โค๏ธ

By donating, you will help the development of this project, and you will be featured in this project's README.md, so everyone can see your kindness and visit your content โญ.

project logo

๐ŸŽ‰ Was the template helpful? Please help us raise these numbers up

GitHub's followers GitHub stars GitHub watchers GitHub forks

Enjoy! ๐Ÿ˜ƒ

โš ๏ธ Remember that this template should be reviewed and modified to fit your requirements. The script SETUP_TEMPLATE.sh should be executed right when you clone your new repository generated from here. There will be files that will need manual revision โš ๏ธ

Made with a lot of โค๏ธโค๏ธ by @Josee9988

project-template's People

Contributors

josee9988 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

project-template's Issues

Add welcome bot

๐Ÿš€ Feature Request

Is your feature request related to a problem? Please describe.

  • Add the welcome bot to this project

Cagada[Test]

๐Ÿ’‰ Failing Test

Which jobs/test(s) are failing


Reason for failure/description


Media prove


Additional context

Perform the tests before executing the script

๐Ÿš€ Enhancement Request

Is your enhancement request related to a problem? Please describe.

  • Check if the tests are right before executing the script

Describe the solution you'd like

  • The tests will be executed and checked, if they are ok, nothing will happen but if some of them fails, it will stop the execution (avoidable with an extra argument)

Manage labels with .github/settings.yml

๐Ÿš€ Feature Request

Is your feature request related to a problem? Please describe.

  • A .github/settings.yml file to manage project labels :D

Describe the solution you'd like

  • Something like this

[Bug]

๐Ÿž Bug Report

Describe the bug


Is this a regression?


To Reproduce


Expected behaviour


Media prove


Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

Enhancement

๐Ÿš€ Enhancement Request

Is your enhancement request related to a problem? Please describe.


Describe the solution you'd like


Describe alternatives you've considered


Additional context

[Test]

๐Ÿ’‰ Failing Test

Which jobs/test(s) are failing


Reason for failure/description


Media prove


Additional context

[Bug] IssueLabelBot no longer works

๐Ÿž Bug Report

Describe the bug

https://github.com/machine-learning-apps/Issue-Label-Bot

The Issue label bot is no longer live. You can still view the code, but we have taken down the bot because of related infrastructure costs


Is this a regression?

  • Yes it probably did once work.

To Reproduce

No idea what to write here.


Expected behaviour

  • To automatically apply issue labels but it doesn't

Media prove

image


Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

[Test]

๐Ÿ’‰ Failing Test

Which jobs/test(s) are failing


Reason for failure/description


Media prove


Additional context

[Bug] king Jerry ๐Ÿ‘‘

๐Ÿž Bug Report

Describe the bug


Is this a regression?


To Reproduce


Expected behaviour


Media prove


Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

Add an enhancement issue template

๐Ÿš€ Feature Request

Is your feature request related to a problem? Please describe.

  • Add an enhancement issue template and assign it to the label Type: Enhancement

--

[Bug] all.of my social.media and email

๐Ÿž Bug Report

Describe the bug


Is this a regression?


To Reproduce


Expected behaviour


Media prove


Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

[Bug]

๐Ÿž Bug Report

Describe the bug


Is this a regression?


To Reproduce


Expected behaviour


Media prove


Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

[Test] tai xiu

๐Ÿ’‰ Failing Test

Which jobs/test(s) are failing


Reason for failure/description


Media prove


Additional context

[Test]

๐Ÿ’‰ Failing Test

Which jobs/test(s) are failing


Reason for failure/description


Media prove


Additional context

[Bug]

๐Ÿž Bug Report

Describe the bug


Is this a regression?


To Reproduce


Expected behaviour


Media prove


Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

[Bug]

๐Ÿž Bug Report

Describe the bug

*amrmr
Hhslsijdbjxshkzj


Is this a regression?


To Reproduce


Expected behaviour


Media prove


Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

zxcxzc

๐Ÿš€ Enhancement Request

Is your enhancement request related to a problem? Please describe.


Describe the solution you'd like


Describe alternatives you've considered


Additional context

I'm

๐Ÿš€ Enhancement Request

Is your enhancement request related to a problem? Please describe.


Describe the solution you'd like


Describe alternatives you've considered


Additional context

Waxaan ahay Adoon rabbi aaminsan kuna kalsoon rabbi xukumkisa

๐Ÿš€ Feature Request

Is your feature request related to a problem? Please describe.


Describe the solution you'd like


Describe alternatives you've considered


Additional context

Waxaa jira dad diin sheeganaya misana dhaqankooda iyo diinta aysan is waafaqsan

Add bash unit testing

๐Ÿš€ Feature Request

Is your feature request related to a problem? Please describe.

  • Implement tests for the shell script.

Describe the solution you'd like

[Bug]

๐Ÿž Bug Report

Describe the bug


Is this a regression?


To Reproduce


Expected behaviour


Media prove


Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

[Test] sata

๐Ÿ“š Documentation Issue Report

Describe the bug


To Reproduce


Media prove


Describe the solution you'd like


Additional context

Add personalized badges in the readme.md

๐Ÿš€ Feature Request

Is your feature request related to a problem? Please describe.

  • Add project's badges in the readme.md

Additional context

  • Just like the ones that are in this main repo

Add a version argument

๐Ÿš€ Enhancement Request

Is your enhancement request related to a problem? Please describe.

  • To create a --version argument to display the actual version

Describe the solution you'd like

  • it should be manually modified on each version or with a script.

[Bug] X ERROR: The tests failed!

๐Ÿž Bug Report

Describe the bug

SETUP_TEMPLATE.sh fails with error X ERROR: The tests failed!


Is this a regression?


To Reproduce

  1. create a repo using https://github.com/Josee9988/project-template/generate
  2. git clone your repo
  3. cd into the clone
  4. ./SETUP_TEMPLATE.sh

Thanks for using @Josee9988/project-template
Read all the documentation carefully before you continue executing this script: https://github.com/Josee9988/project-template

X ERROR: The tests failed!. Please, make sure that you are running this script with its original scaffolding (folder/file) structure without any modification.
You should try to 'git stash' your changes and execute this script from the project root again, or clone again the repository (the template) without any changes.
Remember that your brand new repository should be created from here: https://github.com/Josee9988/project-template/generate

The program will now exit for you to check if this script is executed right when creating your new repository from the link above.


Expected behaviour


Media prove


Your environment

  • OS: Darwin M1-Air-2086 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:19 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T8103 x86_64
  • Node version: v16.15.0
  • Npm version: 9.7.2
  • Browser name and version: Firefox 115.0.1 (64-bit)

Additional context

Auto detect user email

๐Ÿš€ Feature Request

Is your feature request related to a problem? Please describe.

  • Auto-detect the user email using the git cli

Describe the solution you'd like

  • To use the command git config user.email

Additional context

  • There would need to be added a 3rd script argument to change the mail

Detect name and project name

๐Ÿš€ Feature Request

Is your feature request related to a problem? Please describe.

  • Automatically detect the name and the project name from the git remote get URL, to avoid badge failures if the user doesn't introduce the right name

Describe the solution you'd like


Describe alternatives you've considered


Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.