Skip to content

BobJr23/Text_editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 Text Editor

A sleek and customizable text editor built with Python and PySimpleGUI, featuring tabbed editing, syntax highlighting, find-and-replace, theming, AI Copilot integration, and more.


📚 Table of Contents


🚀 Quick Start

Option 1: Easy (Windows Only)

  1. Download and run the main.exe file.
  2. ⚠️ Note: Due to limitations with PyInstaller, folder opening may not work properly in the executable. For full functionality, use Option 2.

Option 2: Run from Source

  1. Clone the repository:

    git clone https://github.com/BobJr23/Text_editor.git
    cd Text_editor
  2. Install dependencies:

    pip install -r requirements.txt
  3. Launch the app:

    python main.py

🤖 Using AI Copilot (Gemini)

To enable Copilot Chat, you'll need a free API key from Google AI Studio.

Setup Options:

  • Option A: Add the API key to a .env file:
    API_KEY=your-api-key-here
    
  • Option B: Enter it manually when prompted in the app.

✨ Features

Feature Description
🗂 Tabs & Folders Multi-tab support and folder explorer for managing projects.
🎨 Theme Customizer Create and switch between custom themes for the editor.
🔍 Find & Replace Quickly search and replace across files.
🧠 AI Copilot Chat Gemini-powered in-editor assistant.
💡 Syntax Highlighting Supports Python, Golang, Java (more coming soon).
💻 Integrated Terminal Run commands without leaving the editor.

🖼 Feature Previews

Editor Overview

Editor Overview

🎨 Theme Customizer

Theme Customizer

🧠 Syntax Highlighting, Tabs, and More

Syntax Highlighting

🤖 AI Copilot Chat

AI Chat

💻 Integrated Terminal

Terminal


📌 Notes

  • Cross-platform support is best when running the Python source (main.py).
  • Currently tested on Windows 10/11 and Ubuntu 22.04.
  • Support for more languages and plugins is in development!

🛠 Contributing

Pull requests are welcome! If you have feature ideas, bug reports, or want to help improve functionality, feel free to contribute.

About

python text editor from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages