ReadMeAI
ReadMeAI copied to clipboard
Convert your code snippets into GitHub Flavoured Markdown
๐ค ReadmeAI ๐
Overview
The README Generator is a platform that allows users to upload a single-file code and describe their project. The AI generates a Markdown code, which can be edited in real-time using a code editor, and the changes are previewed instantly.
ReadMeAI is now live at readmeai.live
Navigation
- ๐ค ReadmeAI ๐
- Overview
- Navigation
- ๐ Features
- ๐ File Structure (MVC)
- ๐ป Tech Stack
- โ๏ธ Installation
- In Your Local Machine
- In Your Virtual Machine (using Docker)
- ๐ Usage
- In your Local Machine
- Using Docker Container
- ๐ฎ Features for next release.
- ๐คSupport
- โ๏ธ Authors
๐ Features
-
AI-Powered Content: It uses Google AI to generate meaningful and informative content for your README, including project description, usage, installation, and more.
-
Customization: You can customize the generated content using a built in editor to include or exclude specific sections, ensuring your README reflects your project's unique needs.
-
Markdown Support: The generated README files use Markdown, making it easy to format and style your project documentation.
-
User-Friendly Web Interface: Access the generator through a user-friendly web interface, eliminating the need for manual setup.
๐ File Structure (MVC)
- ๐ api/ : contains code file to connect to third party api's (Google PaLM 2)
- ๐ controllers/ : Contains all the business logic to execute on post/get requests.
- ๐ views/ : Contains files to render at client sides.
- ๐ data/ : Contains the 'template' which will hold the output template and 'output.md' which will output markdown.
- ๐ public/ : Contains client side css and scripts.
- ๐ routes/ : File to handle routes and to call respective controller function on particular route.
- ๐ uploads/ : This directory will hold files that server received from client side, and then deletes them once the session ends.
- ๐ server.js : This file is the main express server, this is the file that will execute on starting server.
- ๐ Dockerfile : This file contains script to containerize project.
๐ป Tech Stack
- ๐ Node.js: Server-side runtime.
- ๐ Express: Node.js framework.
- ๐ค Google PaLM API: Google Pathways Language Model is a 540 billion parameter transformer-based large language model.
- ๐จ EJS: Templating engine to render and add dynamic content in your HTML at server.
- ๐จ CSS: Styling the HTML template.
- ๐ผ JavaScript: To add Interactivity in the frontend.
โ๏ธ Installation
In Your Local Machine
- Clone the repository.
- Navigate to the project directory.
- Open your terminal and run:
npm install
In Your Virtual Machine (using Docker)
- Clone the repo and navigate to the project directory.
- Open the terminal and type the following command:
docker build -t gitax18/readmeai .
๐ Usage
In your Local Machine
- Change to the project directory.
- Open your terminal and type the following command:
npm start
- The Application will run on http://localhost:3333
Using Docker Container
- To start the container, type the following command:
docker run -it -p 3333:3333 gitax18/readmeai
- Now the Application will run on http://localhost:3333
NOTE: If the project don't run properly and show crbug error in web console then follow following steps.
- Open VSCode an go to 'Run and Debug' menu in left sidebar.
- Click on 'create a launch.json file' and select node.js in pop-up menu.
- Now click on green triangular play icon on the top of same 'Run and Debug' sidebar.
- Now go to http://localhost:3333
๐ฎ Features for next release.
- GitHub Authorization to add repo rather than single file.
- More trained AI to generate readme for folders rather than file.
- Custom templates, User can defined what features/section they want in their readme.
๐คSupport
If you encounter any issues or have questions, please feel free to create an issue on the repository. We're here to help!
