Skip to content

AI-powered text editor with document management, OpenAI-compatible chat interface, and quality-of-life features such as macros.

License

Notifications You must be signed in to change notification settings

darrylschaefer/ai-text-editor

Repository files navigation

ai-text-editor

AI-powered text editor designed to streamline your writing workflow. Manage documents, collaborate seamlessly with AI models, and utilize powerful macros for unmatched productivity.


Visit Website · Report Bugs · Request Feature

Key Features:

  • Document Management System: Easily create, edit, organize and export your writings.
  • AI Integration: Direct interaction with AI model providers, enhancing your writing with suggestions, edits, and creative ideas.
  • Privacy First: Your documents and API key are stored locally on your device, ensuring your data remains yours.
  • Instant Macros & Selection Sending: Improve your workflow with customizable prompts and the ability to query the AI about specific text selections.
  • Mobile & Desktop Accessibility: Designed for compatibility across both desktop and mobile operating systems

Prerequisites

Ensure that you have the following prerequisites installed and set up on your system:

  1. Node.js: The application is built using Node.js, so you need to have it installed on your machine. You can download the latest version of Node.js from the official website.

  2. OpenAI API Key: The application requires an OpenAI API key for AI integration. Sign up for an OpenAI account and obtain an API key from the OpenAI Developer Dashboard.

Getting Started

To begin using ai-text-editor, you can visit our website to access or setup your own instance by following the steps below:

  1. Clone the repository:
git clone https://github.com/darrylschaefer/ai-text-editor
  1. Change directory:
cd ai-text-editor
  1. Install dependencies:
npm install
  1. Run the dev server:
npm run dev
  1. Open your browser: Navigate to http://localhost:5173 to start working with ai-text-editor on your local machine.

Support and Contributions

We welcome contributions and feedback to make ai-text-editor even better. Whether it's feature requests, bug reports, or code contributions, please feel free to reach out or open an issue in our repository.

Privacy and Security

All data, including documents and your API key, remain stored locally on your browser. No third-party access to your documents unless you choose to interact with external APIs (such as the OpenAI Chat API), which is done under your control with your API key.

Mobile/Desktop Version

ai-text-editor supports both mobile and desktop access, ensuring you can continue your work seamlessly across devices. For the best experience, it's recommended to use the latest version of Chrome.

Backup and Data Management

It's crucial to regularly export your data for backups. Through the sidebar's 'export' feature, you can save your documents and chats securely and import them back at any time.

Frequently Asked Questions (FAQs)

Q: How is our data stored, and who has access?

A: Your documents are stored locally on your device via IndexedDB. If you use the OpenAI API or any custom API, you might send document and selection data to their servers during the request process.

Q: How do I back up my data?

A: You can routinely back up your data by using the 'export' feature in the sidebar. This action will generate a .JSON file of your documents and chats.

Q: Do I need to pay OpenAI?

A: Yes, using your own API key means you'll interface directly with the OpenAI servers, so it's recommended to set limits and monitor spending in your OpenAI dashboard. If you use an alternative API, you may need to pay to the provider of this API.

For more detailed information, please refer to our FAQ section.

Special Thanks

This project was inspired by and adapted from BetterChatGPT, originally released under the CC0 license. This modified version is released under the MIT license.

About

AI-powered text editor with document management, OpenAI-compatible chat interface, and quality-of-life features such as macros.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published