svelte-ai-summarizer Svelte Themes

Svelte Ai Summarizer

An AI summarizer to learn the integration of OpenAI’s GPT-3.5-turbo model, built on SvelteKit, Bun.js and TailwindCSS.

Svelte AI Summarizer

This project is a text summarization application built using SvelteKit. It allows users to input text and receive a cohesive, markdown-formatted blog post generated by OpenAI's GPT-3.5-turbo model. The application leverages the power of AI to transform your notes or ideas into well-structured articles.

Features

  • Text Summarization: Input text and generate a cohesive blog post.
  • Markdown Formatting: Outputs the summarized text in markdown format for easy editing and publishing.
  • Downloadable Content: Allows users to download the generated markdown file.
  • Responsive Design: Optimized for both desktop and mobile devices.
  • Clean UI: Styled with Tailwind CSS for a modern and sleek user interface.

Technologies Used

  • SvelteKit: Frontend framework for building web applications.
  • TypeScript: Strongly typed programming language that builds on JavaScript.
  • Tailwind CSS: Utility-first CSS framework for styling.
  • Bun.js: JavaScript runtime for package management and script running.
  • OpenAI API: Utilizes GPT-3.5-turbo for text summarization.
  • Marked: Parses markdown content.

Installation

To set up this project locally:

  1. Clone the repository:
git clone https://github.com/luthda/svelte-ai-summarizer.git
  1. Navigate to the project directory:
cd svelte-ai-summarizer
  1. Install dependencies:
bun install
  1. Set up environment variables:
OPENAI_API_KEY=your_openai_api_key_here
  1. Run the server:
bun run dev
  1. Open http://localhost:5173 in your browser to use the application.

Contributing

Contributions are welcome! If you find any issues or have improvements, feel free to submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Top categories

Loading Svelte Themes