All Projects → elw00d → Consoleframework

elw00d / Consoleframework

Licence: mit
Cross-platform toolkit for easy development of TUI applications.

Projects that are alternatives of or similar to Consoleframework

Asciimatics
A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
Stars: ✭ 2,869 (+489.12%)
Mutual labels:  console, tui
xplr
A hackable, minimal, fast TUI file explorer
Stars: ✭ 2,271 (+366.32%)
Mutual labels:  console, tui
Finalcut
A text-based widget toolkit
Stars: ✭ 244 (-49.9%)
Mutual labels:  console, tui
Pterm
✨ #PTerm is a modern go module to beautify console output. Featuring charts, progressbars, tables, trees, and many more 🚀 It's completely configurable and 100% cross-platform compatible.
Stars: ✭ 449 (-7.8%)
Mutual labels:  console, tui
croatoan
Common Lisp bindings for the ncurses terminal library.
Stars: ✭ 111 (-77.21%)
Mutual labels:  console, tui
Mandown
man-page inspired Markdown viewer
Stars: ✭ 173 (-64.48%)
Mutual labels:  console, tui
Pulsemixer
CLI and curses mixer for PulseAudio
Stars: ✭ 441 (-9.45%)
Mutual labels:  console, tui
Nnn
n³ The unorthodox terminal file manager
Stars: ✭ 13,138 (+2597.74%)
Mutual labels:  console, tui
jira-cli
🔥 [WIP] Feature-rich interactive Jira command line.
Stars: ✭ 809 (+66.12%)
Mutual labels:  console, tui
qbittorrentui
text user interface for qbittorrent
Stars: ✭ 19 (-96.1%)
Mutual labels:  console, tui
Smenu
smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use.
Stars: ✭ 1,906 (+291.38%)
Mutual labels:  console, tui
circumflex
🌿 It's Hacker News in your terminal
Stars: ✭ 43 (-91.17%)
Mutual labels:  console, tui
Kubebox
⎈❏ Terminal and Web console for Kubernetes
Stars: ✭ 1,855 (+280.9%)
Mutual labels:  console, tui
S Tui
Terminal-based CPU stress and monitoring utility
Stars: ✭ 2,825 (+480.08%)
Mutual labels:  console, tui
Lazyhub
lazyhub - Terminal UI Client for GitHub using gocui.
Stars: ✭ 133 (-72.69%)
Mutual labels:  console, tui
px
ps and top for human beings
Stars: ✭ 151 (-68.99%)
Mutual labels:  console, tui
Phetch
🐭 quick lil gopher client for your terminal
Stars: ✭ 108 (-77.82%)
Mutual labels:  console, tui
Clrcli
CLRCLI is an event-driven library for building line-art user interfaces in C#/.Net command-line applications.
Stars: ✭ 124 (-74.54%)
Mutual labels:  console, tui
pytermgui
Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
Stars: ✭ 1,270 (+160.78%)
Mutual labels:  console, tui
RecoverPy
🙈 Interactively find and recover deleted or 👉 overwritten 👈 files from your terminal
Stars: ✭ 189 (-61.19%)
Mutual labels:  console, tui

Console Framework

NuGet

Console framework is cross-platform toolkit that allows to develop TUI applications using C# and based on WPF-like concepts.

Features

  • Declarative markup (custom lightweight XAML implementation)
  • Data binding (integrated with XAML markup)
  • Retained mode rendering system
  • WPF-compatible simple and flexible layout system
  • A lot of controls available (including Grid, ScrollViewer, ListBox, ComboBox)
  • Routed events system (compatible with WPF)
  • Windows, Mac OS X and Linux (64-bit) support

Install from NuGet

NuGet package is available here https://www.nuget.org/packages/Elwood.ConsoleFramework

Build from source

To build a library with examples you can use standard dotnet tool:

dotnet build

It should work in all platforms.

Running examples

In Windows

dotnet run --project ExamplesStandalone/ManyControls

In Linux

# Copy native dependencies before run
mkdir -p ExamplesStandalone/ManyControls/bin/Debug/netcoreapp3.0/
unzip native/libtermkey-0.18-x86_64.zip -d ExamplesStandalone/ManyControls/bin/Debug/netcoreapp3.0/

# Build and run project
dotnet run --project ExamplesStandalone/ManyControls

Press Ctrl+D to exit application.

Running unit tests

dotnet test Tests

Development

There were two IDEs where I've worked with .NET Core project: Visual Studio 2017 Community and JetBrains Rider. Both of them works well with this source code.

Native dependencies

For Windows there are no native dependencies required. But in Linux and Mac OS X environments you should prepare some native dependencies to be able to execute examples. Dependencies are:

  • libtermkey
  • libc
  • ncursesw

To build libtermkey go to its source code directory and simply run

make

After that you can copy binaries from ./libs into directory with examples. Or you can use binaries of libtermkey from zip in /native directory.

Libc and ncursesw are distributed in binaries in vast majority of Linux distros and OS X, so all you need is locate actual binaries and copy them in the output directory if the target machine does not have them, for example, if you are Mac OS X user, you will need to install libtermkey.

brew install --universal libtermkey

Console Framework expects that libraries will be available strictly by these names on Linux. If your system already has symlinks libc.so.6 and libncursesw.so.5, you can skip this step.

Mono support

Support of Mono runtime have been discontinued. If you need library for Mono, you can download previous releases. All further development will be continued for .NET Core runtime only.

Terminal emulators in Mac OS X

Standard terminal emulator is not very good for console applications deals with mouse. My recommendation is to use ITerm2. ITerm2 provides a good emulation with mouse support. If you want to see how console framework renders in various Mac emulators, visit http://elwood.su/2014/02/console-framework-on-mac/

License

Copyright 2011-2018 I. Kostromin

License: MIT/X11

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].