Skip to content

A lightweight AI productivity assistant that helps creators brainstorm, summarize, and transform content. Accessible via a web app and a browser plugin.

Notifications You must be signed in to change notification settings

flame3301/FocusFlow

Repository files navigation

FocusFlow

FocusFlow is a lightweight AI productivity assistant that helps creators brainstorm, summarize, and transform content. Powered by Google Gemini, FocusFlow provides structured, creative, and helpful responses for writers, educators, and designers.

Features

  • Brainstorm Ideas: Expand questions or concepts into actionable suggestions.
  • Summarize Content: Generate concise summaries of your text.
  • Transform Text: Rewrite and enhance your content in creative tones.
  • Copy & Save: Easily copy responses or save your session as a JSON file.
  • Dark/Light Theme: Toggle between light and dark modes for comfortable viewing.
  • Responsive UI: Optimized for desktop and mobile devices.

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/flame3301/focusflow.git
    cd focusflow
  2. Install dependencies:

    npm install
    # or
    yarn install
  3. Start the development server:

    npm run dev
    # or
    yarn dev
  4. Open http://localhost:5173 in your browser.

Build for Production

npm run build
# or
yarn build

Preview Production Build

npm run preview
# or
yarn preview

Usage

  • Select a mode (Brainstorm, Summarize, Transform) from the header.
  • Enter your message or content in the input panel.
  • View AI-generated responses in the response panel.
  • Use the Copy or Save buttons to export your results.
  • Toggle theme using the moon/sun icon.

Project Structure

├── src/
│   ├── App.tsx
│   ├── main.tsx
│   ├── index.css
│   ├── components/
│   │   ├── chatPanel.tsx
│   │   ├── header.tsx
│   │   ├── markdownRenderer.tsx
│   │   └── responsePanel.tsx
│   └── contexts/
│       └── themeContext.tsx
├── index.html
├── package.json
├── tailwind.config.js
├── postcss.config.js
├── vite.config.ts
├── tsconfig.json
└── ...

Technologies Used

Configuration

  • API Key: The Google Gemini API key is set in src/App.tsx. Replace it with your own key for production use.
  • Styling: Tailwind CSS configuration is in tailwind.config.js.

License

MIT

Acknowledgements

About

A lightweight AI productivity assistant that helps creators brainstorm, summarize, and transform content. Accessible via a web app and a browser plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published