cogno

1.1.0-nightly.2 • Public • Published

Cogno

A terminal with a self learning autocompleter. alt text

Download

Cogno is a alpha-version at the moment. It may contains some bugs and is not production ready.

Windows-Installer

Windows-Installer (Nightly)

MacOs Silicon

MacOs Silicon (Nightly)

Linux .deb

Linux .deb (Nightly)

Motivation (Why the hell a new terminal?)

I am forgetful and lazy. I want to type as little as possible and think as little as possible. That's why I wanted a terminal with a self learning autocompleter. And here it is.

Features

Context aware autocompletion

Cogno try to figgure out, what you want to type and offers matching suggestions.

Easy to style.

Simply design the terminal with a WYSIWYG theme editor. No settings files. So there is already this settings file, you can use that too, if you want. But an editor is much more convenient.

Configurable shortcuts

You can change the existing shortcuts or even better - put a command on a shortcut.

Different shells

Cogno supports GitBash, Powershell, ZSH and Bash for Windows, MacOS (Apple Silicon), and Ubuntu (Debian). There are a few restrictions. For example Bash version >= 4 and Windows 10 version > 1909, and probably a few more. 🤔

Paste history

If you need to paste something again, you will find it in your paste history.

Tabs, Panes and Workspaces

Cogno supports tabs and freely rearrangeable split panes which you can also save as a workspace.

Support

Every support would be awesome! Thank you!

Tech/framework used

Cogno is developed in Typescript/HTML/CSS. I use a lot of other Open Source Projects, but the main frameworks are:

  • electron
  • angular
  • node-pty
  • xterm

FAQ?

Why javascript for a terminal?

Because I can, it really is that simple. Building something like this takes a lot of time and I have to manage it as best I can. That's why I had to take something that I know and that is well supported. With the above technologies, I have exactly that.

And the high memory consumption and poor performance?

Well, that plays a subordinate role for me. Features are playing a bigger role at the moment. I have such a hell of a developer machine, there it runs like clockwork. And even on my old notebook it runs quite well. Tauri might be a solution to that problem.

Do you use it in production?

Yes, every day. Most of my colleagues, too, by the way. It's pretty well tested on Window 10 and 11, with the GitBash. On the Mac (Apple Silicon) I use it with ZSH. Cogno unfortunately only works from Bash 4.

Contribute

You'll need a recent version of Node installed. (Be aware to select "Tools for Native Modules" during the node install process on windows)

Clone this repository:

git clone git@gitlab.com:biberklatsche/cogno.git

# or

git clone https://gitlab.com/biberklatsche/cogno.git

Install the dependencies:

npm install

Check if you can build the project:

npm run build

Start Cogno in dev-mode:

npm start

Run the unittests:

npm test

If you wan't to build a executable run:

npm run build:windows
# you will find the executable in the release folder

or

npm run build:mac
# you will find the executable in the release folder

or

npm run build:linux
# you will find the executable in the release folder

Package Sidebar

Install

npm i cogno

Homepage

cogno.rocks

Weekly Downloads

1

Version

1.1.0-nightly.2

License

GPL-3.0-or-later

Unpacked Size

3.4 MB

Total Files

367

Last publish

Collaborators

  • biberklatsche