Bitcoin Forum
November 17, 2024, 11:39:39 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Anyone interested in an ncurses bitcoind fronted?  (Read 3698 times)
Sp0tter (OP)
Sr. Member
****
Offline Offline

Activity: 285
Merit: 250


View Profile
September 12, 2011, 04:55:31 AM
 #1

I am throwing together a little ncurses fronted for bitcoind (or any fork) because it fits nicely into my xmonad desktop without that harsh graphical background of the gui cilent, but quicker to use than typing commands.  

Is anyone else interested in this?  I just started today, if anyone is interested I can throw it up on github as soon as its usable.  I dont know if this already exists or not, I didn't really search for one.


http://allchains.info - First to provide difficulty estimates for forks.
d33tah
Newbie
*
Offline Offline

Activity: 47
Merit: 0



View Profile
September 12, 2011, 07:21:21 AM
 #2

I think it might be really cool. Keep it up, there's never too much nerdness on the world! Smiley
DannyM
Sr. Member
****
Offline Offline

Activity: 276
Merit: 250



View Profile
September 12, 2011, 07:41:21 PM
 #3

Looks good.
ovidiusoft
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
September 12, 2011, 08:13:54 PM
 #4

I'd like such an interface, too.
J.P. Larocque
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
September 17, 2011, 10:25:40 AM
 #5

I run Bitcoin as a daemon on my laptop, and because building the GUI on stock Debian is a chore (and I guess I can't be bothered to take a look at the possible RPC-based frontends), I use bitcoin through RPC calls on the command line through a wrapper script I named bitcoin (with the actual Bitcoin binaries living outside PATH):

Code:
#!/bin/bash

set -e

# Avoid accidentally starting the server.
if [ "$#" -eq 0 ]; then
set help
fi

exec sudo sudo -u bitcoind ~bitcoind/bin/bitcoind "$@"

This of course makes a lot of assumptions about my system: that Bitcoin is restricted to the bitcoind system account, the location of the binary, and so on.  Adjust to suit your needs.

Reading the output of listtransactions is not pleasant.  More interesting to this topic and building upon the trivial bitcoin script is a Python script I wrote to print transactions in a tabular format.
  • BTC amounts are converted to USD in a separate column
  • Separate actual and available account balances are tracked and printed (due to transaction confirmation and generation maturity times).
  • The decimal point lines up correctly.  Compare:

Code:
   +9.87654321   -vs-   +9.87654321
+1234.5                 +1234.5

Example output:

Code:
Time                 Conf.  Amt. BTC     Bal. BTC    Amt. USD  Bal. USD

                                         0                     0      
  Initial balance

2011-06-10T20:28:38  15752  +0.52        0.52        +2.51     2.51    
  Received with 1GFiqyGUYpMxD2xummYMMXd2BEWyLTHom5

...snipped...

2011-06-29T02:23:57  11873  -1.62        0.01840998  -7.84     0.08    
  Sent to 1FEEwKSGutzbz5be3YE1mjjd3wCFCRognN

2011-06-29T02:23:57  11873  -0.001       0.01740998  -0.00     0.08    
  Fee for above transaction

...snipped...

2011-07-27T21:03:02  7273   +0.00009596  0.03053736  +0.00     0.14    
  Generated

                                         0.03053736            0.14    
  Final balance

(Final/available balances combined to one line since in this case they are the same.)

There are some rough edges: the table formatting code is heinous, a request to MtGox is made on each execution for the exchange rate, there's currently no paging or limitation on the number of output rows, the fiat currency shown is hard-coded for USD (get_mtgox_price()), and it assumes the presence of a bitcoin command which takes RPC arguments and prints a JSON response (bitcoin_request() could easily be adjusted to use a different command name, or to make a JSON-RPC request directly).  Python 2.6 or higher (prior to 3) required.

If anyone is interested, the code is available here: http://www.thoughtcrime.us/software/etc/bitcoin-transactions.py
Valhalla1
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
September 18, 2011, 05:10:24 AM
 #6

I'd be interested in an ncurses bitcoind frontend.
naturallaw
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
September 22, 2011, 04:29:10 AM
 #7

Very nice, I like it!
wumpus
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
September 23, 2011, 09:01:18 AM
 #8

I'd be interested in an ncurses bitcoind frontend.
Yes, it'd be nice in some cases...

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
TiagoTiago
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Firstbits.com/1fg4i :)


View Profile
September 24, 2011, 11:47:39 PM
 #9

Would be nice to have somthing like this for the N900 as well

(I dont always get new reply notifications, pls send a pm when you think it has happened)

Wanna gimme some BTC/BCH for any or no reason? 1FmvtS66LFh6ycrXDwKRQTexGJw4UWiqDX Smiley

The more you believe in Bitcoin, and the more you show you do to other people, the faster the real value will soar!

Do you like mmmBananas?!
memvola
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1002


View Profile
September 25, 2011, 12:26:15 AM
 #10

Would be nice to have somthing like this for the N900 as well

+1 (Someone had built bitcoind for N900, I've been running it but keeping all the blockchain is kind of a pain. Also, are there binaries for 0.4?)

Either way, a well maintained ncurses frontend would be pretty cool (with wallet encryption and whatnot), I'd prefer that over the current one (yeah, for my xmonad desktop as well, but also for running under screen). I sent a small donation your way, Sp0tter. (to 1MWD2aAQYMUNBB2sBcMv8vGp43q4BcA7w5)
netrin
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251


FirstBits: 168Bc


View Profile
September 25, 2011, 09:20:08 PM
 #11

I also think this is great and would try to help. Please publish the git repo. If possible, I would like to see small utilities in the unix tradition that individually work well, are easier to maintain, and can be chained to make better customized scripts and work flows.

Greenlandic tupilak. Hand carved, traditional cursed bone figures. Sorry, polar bear, walrus and human remains not available for export.
JohnDoe
Sr. Member
****
Offline Offline

Activity: 392
Merit: 251



View Profile
September 27, 2011, 02:05:31 AM
 #12

Hell yeah I'm interested! As a keyboard person I would definitely prefer using the ncurses frontend.
EskimoBob
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


Quality Printing Services by Federal Reserve Bank


View Profile
September 27, 2011, 06:49:34 AM
 #13

Finally! Smiley
Good idea and keep us posted. Thank you.

While reading what I wrote, use the most friendliest and relaxing voice in your head.
BTW, Things in BTC bubble universes are getting ugly....
Sp0tter (OP)
Sr. Member
****
Offline Offline

Activity: 285
Merit: 250


View Profile
September 27, 2011, 06:58:13 AM
 #14

Finally! Smiley
Good idea and keep us posted. Thank you.

Alrighty,  I have been working on a gox bot but will get back to this project soon since there is interest Smiley

I will post here when I have a beta ready to test, and add a section for it on my website http://allchains.info at that time.

http://allchains.info - First to provide difficulty estimates for forks.
Andrew Bitcoiner
Sr. Member
****
Offline Offline

Activity: 396
Merit: 250


Send correspondance to GPG key A372E7C6


View Profile WWW
September 28, 2011, 05:55:37 AM
 #15

I admit that at first I laughed, "who on earth needs ncurses for bitcoind?" but then I saw your picture and thought "oh, very nice."  Grin

MAKE MONEY! ADVERTISE FOR BITCOINS http://www.bitcoinadvertising.com
Bitcoin News Site http://coinbits.com
Bitcoin Blackjack http://bitjack21.com
Bitcoin, Darknet, IT consulting http://cryptophene.com
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
October 02, 2011, 08:36:41 PM
 #16

Looks awesome. I'm setting up a hardened little server with just the bitcoin client and sshd running.  I have been using X11 forwarding to open the GUI on my local machine, but it would be nice to not need xorg.

Throw it on github!

netrin
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251


FirstBits: 168Bc


View Profile
October 03, 2011, 12:07:42 AM
 #17

I'd like to see a little microlinux server with ncurses client packed into 10 mb + (well, we need to do something about this blockchain)

Greenlandic tupilak. Hand carved, traditional cursed bone figures. Sorry, polar bear, walrus and human remains not available for export.
pent
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500



View Profile
October 04, 2011, 04:05:13 PM
 #18

Ncurses client would be really cool, as many people using linux and many bitcoin clients will run on servers without X.
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1010



View Profile
October 04, 2011, 04:13:25 PM
 #19


Is anyone else interested in this?

Not only am I interested, I've an old thread that actully calls for exactly this.  Alternatively, a set of command line POSIX tools that can replicate functions of the bitcoind itself are desired.  For example, a CL tool that can create a transaction from a local wallet.dat and then pipe that transaction to a file, another that can pipe in that file and interact with the bitcoin p2p network, another that can pipe received blocks to a file, and another that can pipe those block files into a local bitcoind as if it was connected to a network node directly.  These are the minimum tools necessary to build a completely network isolated bitcoind, unreachable from the Internet by any other method than a USB-drive sneakernet.  This is one lower tech way of ensuring a secure bitcoin savings account that doesn't touch the Internet ever.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
zoktar
Newbie
*
Offline Offline

Activity: 10
Merit: 0



View Profile
February 14, 2014, 10:49:14 AM
 #20

I am throwing together a little ncurses fronted for bitcoind (or any fork) because it fits nicely into my xmonad desktop without that harsh graphical background of the gui cilent, but quicker to use than typing commands.  

Is anyone else interested in this?  I just started today, if anyone is interested I can throw it up on github as soon as its usable.  I dont know if this already exists or not, I didn't really search for one.

http://allchains.info/img/client.png
[/quote

So many altcoin qt clients now. And i don't trust most of my computing locations, nor any online wallets. A secure shell with tmux/screen ncurses clients would be extreemly nice

If you have started this or you know of such a project please do tell! I have not found any ncurses or otherwise terminal client.]

Edit: ofcourse as usual I find one right after the post. termcoin on githib
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!