News for hackers. Stuff that matters.
Re:Show HN: A ncurses CRM system (and accounting) by sn41 on Tuesday April 04, 2017 @06:21AM (#14031094)
I like ncurses, and have been a fan of this interface for 20 years. I know that these days, we are supposed to build web interfaces, push them on to a load-balanced server and so forth, but I think small tools which can be run on the linux terminal are still relevant. Whenever the application is a single-user app, and the data not too huge, this kind of an app has its charming simplicity. I am not an expert developer, but I like this project!
Re:Show HN: A ncurses CRM system (and accounting) by jlebrech on Tuesday April 04, 2017 @07:08AM (#14031354)
I want to be able to create an ncurses app first and then have a renderer create a web app from the ncurses app.
Re:Show HN: A ncurses CRM system (and accounting) by powercf on Tuesday April 04, 2017 @01:12PM (#14035000)
I have used ncurses to build a simple backend interface, that I use for testing new features etc. The end result looks nice, and is functional, but ncurses the library is a pain. It feels like something that would not be written by a programmer today: C, manual pointer-management, the interface feels too low-level. I ended up writing a C++ wrapper around it, adding thread-safety, better scrolling and some convenience functions (the ncurses form library I believe was a particular pain).

What I would like is a high-quality redesign of ncurses with a modern C++ interface.

Re:Show HN: A ncurses CRM system (and accounting) by marssaxman on Tuesday April 04, 2017 @02:10PM (#14035619)
A modernized curses library with clean UTF-8 support would be really nice. There's no need to make it a drop-in system library replacement, either, so there's no need to maintain ABI compatibility, as ncurses does.
Re:Show HN: A ncurses CRM system (and accounting) by powercf on Tuesday April 04, 2017 @03:32PM (#14036376)
re. UTF-8 support: ncurses does include this, in libncursesw. It seems to work, although I haven't tried anything outside of Latin-1.
Re:Show HN: A ncurses CRM system (and accounting) by mingodad on Tuesday April 04, 2017 @06:31PM (#14037861)
Probably someone will remember this https://en.wikipedia.org/wiki/Turbo_Vision

Turbo Vision is a DOS-based character-mode text user interface (TUI) framework developed around 1990 by Borland for Pascal, and C++.

Re:Show HN: A ncurses CRM system (and accounting) by vog on Tuesday April 04, 2017 @07:20AM (#14031406)
Perhaps a more fruitful approach would be to generate both from a common abstraction. Otherwise, you either impose ncurses look&feel to the web (might look like a web terminal emulator), or you force the web into the terminal (might look like a text browser e.g. w3m, lynx, links, elinks)
Re:Show HN: A ncurses CRM system (and accounting) by jongold on Tuesday April 04, 2017 @12:23PM (#14034395)
Re:Show HN: A ncurses CRM system (and accounting) by jlebrech on Tuesday April 04, 2017 @11:57AM (#14034041)
you'd create a markup with component names, instead of html. so you'd have panel, button, divider, pane, window, menu, etc as tags. you can then render those using polymer or react etc. and none of it is polluted by garish html.
Re:Show HN: A ncurses CRM system (and accounting) by iveqy on Tuesday April 04, 2017 @06:34AM (#14031163)
Thanks for your support.

A comment about the single user and huge data. I've a test database with 100 000 account, 1 000 000 events, etc. That is about 2 gb in size. Not huge, but not tiny either.

There's no multiuser support yet, but I plan to add it.

Re:Show HN: A ncurses CRM system (and accounting) by fiatjaf on Tuesday April 04, 2017 @11:28PM (#14039445)
Wrong, if the data is huge it is better to have it running totally on your machine. This is the most scalable as you can get, plus you get infinite bandwidth.