Lynix is an AI-powered web application that allows users to instantly summarize lengthy articles by simply entering the URL. This tool leverages the power of GPT-4 to condense content into concise, easy-to-read summaries, enhancing your reading experience by saving time and effort.
- URL-based Summarization: Enter a URL to get a quick summary of the article's content.
- Sync across Devices: Sync your summaries across multiple devices.
- Real-Time Updates: Instant updates as you type, ensuring smooth and dynamic user interaction.
- Customizable Summaries: Create and delete summaries.
- Responsive Design: User-friendly interface, accessible on both desktop and mobile devices.
This project is built using Vite and React. Follow the steps below to set up the project on your local machine.
Make sure you have the following installed on your system:
-
Clone the Repository
git clone https://github.com/juju-anselum/Lynix.git cd lynix
-
Install Dependencies
If you are using npm:
npm install
Or if you are using Yarn:
yarn install
-
Update the Environment Variables
Rename the
.env.example
file to.env
Get your rapidApi key from Article Extractor and Summarizer
Create a new firebase project and get your Firebase API key.
Update all the environment variables by your key.
-
Run the Development Server
Start the Vite development server to run the app locally:
Using npm:
npm run dev
Using Yarn:
yarn dev
After running the above command, the application should be available at
http://localhost:5173
or the port specified in the terminal.
To build the project for production, use the following command:
Using npm:
npm run build
Using Yarn:
yarn build
The optimized production files will be generated in the dist
folder.
To preview the production build locally, use the following command:
Using npm:
npm run serve
Using Yarn:
yarn serve
This will serve the content from the dist
folder on a local server, allowing you to test the production build.
Here's a quick overview of the project's structure:
Lynix/
│
├── src/ # Source code
│ ├── assets/ # Images, icons, etc.
│ ├── components/ # Reusable components
│ ├── containers/ # Containers for webpage
│ ├── services/ # Services for API and Firebase
│ ├── App.jsx # Root component
│ └── main.jsx # Entry point
│
├── .gitignore # Files to be ignored by Git
├── index.html # Main HTML template
├── package.json # Project dependencies and scripts
├── README.md # Project documentation
└── tailwind.config.js # Tailwind configuration
└── vite.config.js # Vite configuration
Contributions are welcome! If you have any ideas or suggestions to improve the project, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.