Transform your stress into relaxation and transition to a more peaceful state of mind with BrainDump.
BrainDump AI is an app designed to help users organize their thoughts by allowing them to input their ideas and receive structured outputs in the form of diagrams or flowcharts.
- Calming Interface: A minimalistic and calming interface for users to 'braindump' their thoughts.
- Input Box: A large input box for entering text.
- Transform Button: A "Transform" button to submit the input for processing.
- Mermaid.js Diagrams: Generate and display diagrams using Mermaid.js.
- Download Diagrams: Option to download the generated diagrams as images.
Check out the live version of BrainDump AI: BrainDump AI
BrainDump
├── pages
│ ├── api
│ │ └── transform.js # API route for processing input text
│ └── index.js # Main page of the application
├── public # Directory for static assets
├── styles
│ └── Home.module.css # CSS styles for the Home component
├── .env.local # Environment variables (not included in the repository)
├── .gitignore # Git ignore file
├── next.config.js # Next.js configuration file
├── package.json # npm configuration file
└── README.md # Project documentation
To get started with this project, follow these steps:
- Node.js installed. You can check if it is installed with
node -v
. - npm installed. You can check if it is installed with
npm -v
.
-
Clone the repository:
git clone https://github.com/your-username/BrainDump.git
-
Navigate to the project directory:
cd BrainDump
-
Install the dependencies:
npm install
-
Set up environment variables:
- Create a
.env.local
file in the root of your project and add the following:GITHUB_TOKEN=your_github_token_here
- Create a
-
Run the development server:
npm run dev
-
Open your browser and go to
http://localhost:3000
to see the application in action.
-
Create a Vercel Account:
- Go to Vercel and sign up for an account.
-
Link GitHub Repository to Vercel:
- In your Vercel dashboard, link your project to the GitHub repository.
-
Configure Environment Variables:
- In your Vercel project dashboard, navigate to the "Settings" tab.
- Under "Environment Variables", add your environment variables (
GITHUB_TOKEN
).
-
Deploy Your Project:
- Vercel will automatically deploy your project whenever you push changes to the repository.
-
Create a Render Account:
- Go to Render and sign up for an account.
-
Create a New Web Service on Render:
- Go to the Render dashboard.
- Click on "New" and select "Web Service".
- Connect your GitHub account and select the repository you want to deploy.
-
Configure the Web Service:
- Name: Give your service a name.
- Branch: Select the branch you want to deploy (e.g.,
main
). - Build Command: Use the default build command for Next.js:
npm install && npm run build
- Start Command: Use the default start command for Next.js:
npm start
-
Set Environment Variables:
- In the "Environment" section, add your environment variables (
GITHUB_TOKEN
).
- In the "Environment" section, add your environment variables (
-
Deploy Your Project:
- Click on "Create Web Service" to start the deployment process.
- Render will automatically build and deploy your application.
- Implement user authentication to save and manage user inputs.
- Add more diagram types and customization options.
- Add Speech-to-Text for more convenience