npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cogno

v1.1.0-nightly.2

Published

A Terminal with a self learning autocompleter.

Downloads

2

Readme

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 [email protected]: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