Table of Contents
Thought Forge is an innovative platform designed to provide users with a space for receiving anonymous messages. Built with a modern stack including Shadcn/UI, Aeternity UI, Next.js, NextAuth.js, React-Hook-Forms, and Google Generative AI, this platform offers a seamless user experience with intuitive functionality.
π Key Features
- User Authentication: Users can easily sign in or sign up, powered by NextAuth.js, ensuring secure and hassle-free access to their accounts.
- Dynamic Dashboard: After signing in, users are directed to their personalized dashboard, where they can view, refresh, and manage messages from anonymous users.
- Message Management: Users can enable or disable message reception, read incoming messages, delete unwanted ones, and refresh their dashboard for new updates.
- Public Message Link: Every user gets a public link to share, allowing others to send anonymous messages without the need to sign in or create an account.
- AI-Powered Message Suggestions: Senders have the option to write custom messages or choose from AI-generated suggestions, powered by Google Generative AI, for a seamless and interactive experience.
username: falgunmpatel9123@gmail.com
password: thoughtforge
- FullStack: Next.js
- Authentication: NextAuth.js
- UI Components: shadcn/ui + Aceternity UI
- Message Suggestions: Google Generative AI (Gemini)
Basic knowledge of React is required to setup this project.
Download latest version of npm here:
- npm
npm install npm@latest
NOTE: I used npm version @10.5.0 while creating this project
-
Clone the repo
git clone https://github.com/falgunmpatel/thought-forge
-
Install NPM packages
npm install
-
Create a .env file in the root directory of the project and add following content to it
MONGODB_URI= RESEND_API_KEY= AUTH_SECRET= NEXTAUTH_SECRET= GOOGLE_GenAI_API_KEY= AUTH_GOOGLE_ID= AUTH_GOOGLE_SECRET=
or you can do it by this command
cp ./.env.sample ./.env
NOTE:
1. Go to Google AI Studio, Sign In andcreate your API Key.
2. Go to Google Cloud Console, Sign In -> Click on Apis and Services and create authentication credentials. 3. Finally, You need to copy these credentials in the .env file for proper functioning of this project. You may use NextAuth Secret of your choice. -
Run the project by running the following command in the root directory of the project
npm run dev
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Name - Falgun Patel Email - falgunmpatel9123@gmail.com
Project Link: thought-forge
-
Next.js Playlist @ChaiAurCode
Mentor: Hitesh Choudhary -
Full Stack: Next.js
-
Forms: Docs @React-Hook-Forms
-
UI Components: shadcn/ui, Aceternity UI
-
Authentication: NextAuth.js