An AI-powered platform designed to summarize the latest news efficiently, allowing you to catch up quickly on significant developments that occurred while you were away. Developed during the Encode Club's intensive 6-week AI bootcamp, Sleepcatch represents a convergence of cutting-edge technologies and innovative design.
-
App Framework: Next.js - A robust React framework that supports server-side rendering and static site generation.
-
UI Components:
- Shadcn UI - For building fast, responsive interfaces.
- Aceternity UI - Offers sleek, modular UI components for rapid development.
- Radix UI - Provides unstyled, accessible components for constructing high-quality design systems.
-
Styling: Tailwind CSS - A utility-first CSS framework designed for quickly creating bespoke designs.
-
API Integration:
- OpenAI - Delivers scalable generative models.
- NewsAPI - Fetches news articles from various sources.
- NewsCatcherApi - Fetches real-time news articles from various sources.
-
Animation Library: Framer Motion - Enables sophisticated animations in React applications.
-
Database and ORM:
- Turso - Manages application data effectively.Learn more about Turso
- Drizzle ORM: A headless TypeScript ORM . Learn more about Drizzle
-
CLI Tools: Kirimase.dev - Streamlines development in Next.js by integrating essential tools and resources.
-
Fork and Clone the Repository Fork the repository to your GitHub account and clone it to your local machine:
git clone git@github.com/ryanlisse/sleepcatch.git cd sleepcatch
-
Install Dependencies
bun install # or npm install
-
Setup Environment Variables Duplicate the example environment file and enter your API keys:
cp .env.local.example .env.local
Modify
.env.local
to include your OpenAI and NewsAPI keys. -
Run the Application Locally
npm run dev
Navigate to the application using the following URL:
http://localhost:3000
-
src/app/:
- This directory contains the main application logic, including pages and layout components.
- It's central to the frontend logic of the application.
-
src/components/:
- This directory houses reusable UI components that can be used throughout the application.
- Helps maintain consistency and reduce code duplication.
-
src/lib/:
- Contains utility functions and libraries, such as authentication helpers.
- Supports the application's backend interactions and configurations.
Deploy your version of Sleepcatch effortlessly using Vercel:
Sleepcatch is the result of a comprehensive 6-week AI bootcamp by Encode Club, which covered the essentials of machine learning and GPT models to more complex topics like fine-tuning and deploying AI technologies.
- Weeks 1-2: Foundations of AI, building simple AI-driven applications.
- Weeks 3-4: Advanced model training, fine-tuning, and exploring multi-modal AI uses.
- Week 5: Sponsor presentations and in-depth technical sessions.
- Week 6: Project development and final presentations.
Contributions are welcomed! To get involved:
-
Create a Fork Begin by forking the repository to your GitHub account.
-
Create a Branch
git checkout -b your-branch-name
Use a descriptive name for your branch, like
feature-add-login
orbugfix-header-layout
. -
Make Changes and Commit Implement your changes locally and commit them:
git add . git commit -m "Detailed commit message describing the change"
-
Push Changes
git push origin your-branch-name
-
Create a Pull Request Visit the original repository, and you should see a prompt to create a pull request from your branch. Complete the pull request with your changes.