Giter Club home page Giter Club logo

bytex's Introduction

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

newTab.png

Code Preview

codePreview.png

Embedded XTerm

XTerm.png

*[NOTE: Tabs and Menubar may look different in other Operating Systems.]

Built With

bytex's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.