Bytex
a text editor in pyqt4
Install / Use
/learn @bhaveshgawri/BytexREADME
bytex
a text editor in pyqt4
Prerequisites and Installing
It will work with most of the linux distros and may also work for Windows[not checked].
Instructions for apt based distributions:
You need to have python3 and pip3 installed.
$ sudo apt update
$ sudo apt install python3-pip
Then install PyQt4 and PyQy4.Qsci as:
$ sudo apt update
$ sudo apt install python3-pyqt4
$ sudo apt install python3-pyqt4.qsci
After that install rest from requirements using pip3:
$ sudo pip3 install -r requirements.txt
and you are ready to go.
[If your OS does not have gnome-terminal and XTerm some functions will not work properly.]
Usage
To start the editor:
$ cd path_to_bytex.py
$ python3 bytex.py
but more preferrably if you don't want to install the listed modules download directly the executable file of bytex from here.
Give it executing permissions if it does not have it.
$ chmod 755 path_to_bytex
Copy the file to /bin to access it from terminal.
$ sudo cp path_to_bytex /bin
$ bytex
and boom...
Features
- Basic open, save, save as, cut, copy, paste.
- Modes: Read only, Insert, Light-Dark.
- Multiple tab and window support.
- XTerm embedded in tabs to access command line from editor itself (Ctrl+ Right Click on XTerm for more options). It will work if OS has XTerm.
- Markdown editor to edit and create markdown files with side by side live preview.
- Line numbering, auto-indentation, code-folding, auto-completion, syntax-highlighting[currently for python, c, cpp, java, javascript, HTML, XML, CSS]
- Search GitHub, stackoverflow or any selected text in a tab from editor itself.
Preview*
New Tab
Code Preview
Embedded XTerm
*[NOTE: Tabs and Menubar may look different in other Operating Systems.]
Built With
- PyQt4.QtGui - For the GUI of the text editor
- PyQt4.Qsci - For lexers and other syntax feature
- Markdown-Editor - For the markdown editor
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。



