All Projects โ†’ ibbatta โ†’ readme-generator

ibbatta / readme-generator

Licence: MIT license
๐Ÿ“ฆ๐Ÿ“ Personal generator to simply create cool and efficients README.md

Programming Languages

javascript
184084 projects - #8 most used programming language
Handlebars
879 projects

Projects that are alternatives of or similar to readme-generator

The Documentation Compendium
๐Ÿ“ข Various README templates & tips on writing high-quality documentation that people want to read.
Stars: โœญ 4,306 (+13356.25%)
Mutual labels:  readme, readme-template, readme-standard, readme-md
Readme Md Generator
๐Ÿ“„ CLI that generates beautiful README.md files
Stars: โœญ 9,184 (+28600%)
Mutual labels:  readme, readme-template, readme-md, readme-generator
github-profile-views-counter
Github new features README profile views counter made with Yii2 framework.
Stars: โœญ 158 (+393.75%)
Mutual labels:  readme, readme-template, readme-generator
midudev
This is my personal repo for README. It gets automatically updated to fetch latest videos, photos and articles from my blog.
Stars: โœญ 154 (+381.25%)
Mutual labels:  readme, readme-template, readme-md
action-dynamic-readme
~ Dynamic ReadME Generator ~
Stars: โœญ 29 (-9.37%)
Mutual labels:  readme, readme-template, readme-generator
autobadge
Simple CLI tool to generate essential repository badges with ease
Stars: โœญ 16 (-50%)
Mutual labels:  readme, readme-template, readme-generator
jovanzers
Don't just fork, star it! ๐Ÿ‘€
Stars: โœญ 13 (-59.37%)
Mutual labels:  readme, readme-template, readme-md
github-readme-linkedin
๐Ÿ“‹ A serverless application to get dynamically generated images from your LinkedIn profile on your GitHub READMEs
Stars: โœญ 52 (+62.5%)
Mutual labels:  readme, readme-md, readme-generator
init-readme
An opinionated README.md generator for npm utility packages
Stars: โœญ 12 (-62.5%)
Mutual labels:  readme, readme-template, readme-generator
GOVINDDIXIT
GitHub Readme template to create your awesome introduction Readme on GitHub ๐Ÿš€
Stars: โœญ 18 (-43.75%)
Mutual labels:  readme, readme-template, readme-md
ayushi7rawat
Ayushi Rawat's README
Stars: โœญ 49 (+53.13%)
Mutual labels:  readme, readme-template, readme-md
SamirPaul1
๐Ÿค– My GitHub Profile README โœจ
Stars: โœญ 26 (-18.75%)
Mutual labels:  readme, readme-template, readme-md
sharannyobasu
Sharannyo Basu's profile
Stars: โœญ 13 (-59.37%)
Mutual labels:  readme, readme-template
Best Readme Template
An awesome README template to jumpstart your projects!
Stars: โœญ 4,726 (+14668.75%)
Mutual labels:  readme, readme-template
Metrics
๐Ÿ“Š An infographics generator with 30+ plugins and 200+ options to display stats about your GitHub account and render them as SVG, Markdown, PDF or JSON!
Stars: โœญ 4,621 (+14340.63%)
Mutual labels:  readme, readme-generator
milaan9
No description or website provided.
Stars: โœญ 190 (+493.75%)
Mutual labels:  readme, readme-template
readme-generator-for-helm
Auto generate READMEs for Helm Charts
Stars: โœญ 112 (+250%)
Mutual labels:  readme, readme-generator
github-stats-generator
Generate your GitHub stats for your README with ease!
Stars: โœญ 31 (-3.12%)
Mutual labels:  readme, readme-generator
DenverCoder1
Jonah Lawrence's Profile README
Stars: โœญ 320 (+900%)
Mutual labels:  readme, readme-md
Standard Readme
A standard style for README files
Stars: โœญ 4,412 (+13687.5%)
Mutual labels:  readme, readme-standard

๐Ÿšฉ @IBBATTA/README GENERATOR

Version Npm downloads Repository size Release (0.1.9)

This project was born to simplify my workflow and satisfy my desire for knowledge. Being a curious (and also lazy) developer, I've always wandered how to avoid wasting time writing README.md files that fit perfectly project after project. That's why I wrote this tool to help simplify and speed up this process!

Example gif


๐Ÿ“‹ User usage

  • To install globally: npm i -g @ibbatta/readme-generator.
  • To install locally: npm i --save-dev @ibbatta/readme-generator.

Just run readme-generator (or npx readme-generator) at the root of your project and follow the prompts!

You can add the following options:

Option Description Default
-V, --version output the version number
-h, --help output usage information
-E, --entry specify the entry file package.json
-O, --output specify the output file README.md
-T, --template specify the path for you own README template internal default template
-D, --debug log output readme data false

The tools will look for the name, version, description, respository, author, engines, dependencies and contributors data inside you package.json and then will generate the README.md file based on that information.

Due to this reason, this tool was create mainly for a node based project as it will take the package.json by default.
If your project doesn't have a package.json, you can specify another json file.

NOTE: To generate a complete README.md, make sure that the structure of your package.json (or you entry file) looks like this:

{
    "name": ...,
    "version": ...,
    "description": ...,
    "repository": {
        "url": ...
    },
    "author": {
        "name": ...,
        "email": ...,
        "url": ...
    },
    "contributors": [{
        "name": ...,
        "url": ...
    }],
    "engines": {
       ...
    },
    "dependencies": {
        ...
    }
}

If no entry file is specified, and package.json is missing, the tool will prompt you for information instead.

You can include a custom field for your social accounts simply adding a readmeGenerator param inside package.json, like in this following example:

{
  "name": ...,
  "version": ...,
  "description": ...,
  ...,
  ...,
  ...,
  "readmeGenerator": {
    "social": {
        "github": "http://github.com/...",
        "twitter": "http://twitter.com/...",
        "ADD MORE SOCIAL ACCOUNTS IF YOU WANT": "..."
    }
  }
}

This allows the tool to create a better README.md with more information.

Here is a generated README example.


๐Ÿ”ง Developer usage

Set up project

Before cloning the repo make sure you have installed:

  • NODE (version >= 8.9.x)
  • YARN (version >= 1.9.x)
  • NPM (version >= 6.3.x)

Then:

  • Choose a folder project in your system and switch in cd [folder path]
  • Clone the repo in your folder: git clone https://github.com/ibbatta/readme-generator.git

Installation

First, enter the project folder and run nvm use to check you have the right node version, then run yarn install to install all the dependencies.


Start the project

To run the cli of the project locally:

npm start
# or
yarn start

Build the project for production

This will create a folder /lib and compile the es6 / es7 js syntax:

npm build
#or
yarn build

You can add the --watch flag if you want to keep watching the changes made for test files.

Run the tests

npm test
#or
yarn test

You can add the --watch flag if you to want keep watching the changes made for test files.


Editor setup

To keep the style of resources consistent, I decided to stick to some shared rules that have to be applied to every project using some editors plugins. Plese be sure to disable / remove any other js/jsx linters or custom configurations.

Eslint

I have chosen to use Eslint to lint the Javascript / React [.js / .jsx] syntax. It includes a .eslintrc file in the root directory. Make sure your editor has the right plugins.

Auto correction on save

I have chosen to use js-beautify as the beautifier for the HTML and CSS. It includes a .jsbeautifyrc file in the root directory. Make sure your editor has the right plugins.

Basic Editor Configuration

I have chosen to use EditorConfig to share the basic configuration like indentation and charset. It includes a .editorconfig file in the root directory. Make sure your editor has the right plugins.

Prettier

I have chosen to use Prettier to ensure the codebase has a consistent style. It includes a .prettierrc file in the root directory. Make sure your editor has the right plugin.


๐Ÿค Contributing

Contributions, issues and feature requests are welcome. Feel free to check the issues page if you want to contribute, and follow these simple steps:

  • Fork it!
  • Create your feature (or fix) branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request!

๐Ÿ’ข Troubleshooting

This is just a personal project created for study / demonstration purposes and to simplify my working life, it may or may not be a good fit for your project!


โค๏ธ Show your support

Please โญ this repository if you like it or this project helped you!
Feel free to open issues or submit pull-requests to help me improve my work.

Patron logo

๐Ÿค– Author

Maurizio Battaghini

GitHub @ibbatta  ยท  Twitter @battago


Copyright ยฉ 2019 Maurizio Battaghini.
This project is covered by MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].