You are not logged in.
Lately I've been hacking on a Twitter client for the console based on the work of Nicolas Paris in Tyrs.
My main motivation was to make a more flexible UI and move to a Twitter API backend that covered the complete Twitter API. Lists and
streaming API are not yet supported by turses but, since the new backend implements them, turses will include them in the near
future.
Some of the key features of turses are:
Multiple timelines
Multi-column view
Tweet, Retweet, DM, Favorite, Friendship
Search
View any user's tweets
Thread view
Package in AUR
Source code in GitHub
Any feedback will be appreciated.
Here's a screenshot of turses running on urxvt:
Last edited by dialelo (2012-05-17 13:35:35)
-- Alejandro
Offline
Nice job - it looks good.
Please resize your image to conform to the board guidelines.
Offline
I'm a tyrs user, and I like your fork - especially because tyrs throws out some error for me whenever I try to read a conversation thread.
Is there a way to add infinite scrolling? Tyrs does this by loading an extra set of tweets after we scroll down.
Good work there
Offline
I'm going to implement fetching older tweets when you scroll to the bottom of the timeline. Thanks for pointing that out.
-- Alejandro
Offline
Good news, then! BTW, your keyboard defaults are much saner than Tyrs'. I eventually changed the keys to something I could use, but I remember when I first started using it that I'd retweet whenever I tried to reply. And then it was a PITA to erase that retweet.
I really like the column views, it saves much screen real estate in my case.
Offline
Thank you for the feedback.
I just pushed a commit that includes fetching new tweets when you scroll up from the top; and older tweets when you scroll down from the bottom. It will be included in the next release.
Last edited by dialelo (2012-04-12 12:54:46)
-- Alejandro
Offline
Hello,
I loved tyrs and will surely love turses, but it remains two bugs which exists yet in tyrs and that I didn't resolved by using turses.
The first is about the open link function. When I hit the o key, nothing happen. As I use a custom install of Aurora in my home directory I suspect turses to not know what browser to use. How can I tell it the path to the Aurora installation ? I try an "export browser=tatata" but it does nothing.
The second is about the classic retweet function. When I hit the E key, turses crashes. I try to export the editor variable (because it's not clear if « editor » refers to the internal new tweet window or an external editor).
Any ideas about these two things ?
Offline
Digging this. Have been using tyrs since its release and looks like I'll be doing the same with this. Great work. -- one thing I noticed on a newly created twitter account was that any field containing 0 items (tweets/mentions/etc) produces a Traceback error 'Exception in Thread...' when scroll-down is invoked.
transcend to the fifth abode
Offline
@milouse
I'm not sure why your browser is not opening. `turses` uses the BROWSER environment variable to invoque a command to open URLs. As you said, you have to put the path to your browser executable in BROWSER and export it. Can you verify that
$ $BROWSER aur.archlinux.org
works for you after that?
The editor is not an external editor. I've just noticed that crashes when trying to retweet manually so I'm going to take a look at that.
@ntness
I solved that bug a few days ago, when I solve the problem that @milouse reported I will push a new release.
Thank you for your comments!
-- Alejandro
Offline
Owwg sorry... My fault: I thought environment variables were case insensitive and just modify browser instead of BROWSER. A maybe quick workaround for guy like me could be to print on the status bar the return status of your system call to BROWSER variable. Because if there is a problem with the BROWSER variable (my case) bash print a message.
In fact I've just discovered the bug tracker on github, where I should post my questions. Sorry too for having a bit polluted this thread.
Thanks for your quick answer and investigation around the classic retweet feature.
Offline
Turses is awesome. Thank you.
I've got a small problem with the instance/class properties. DWM can't recognize turses:
[tmonti@arch32 ~]$ xprop |awk '
> /^WM_CLASS/{sub(/.* =/, "instance:"); sub(/,/, "\nclass:"); print}
> /^WM_NAME/{sub(/.* =/, "title:"); print}'
instance: "urxvt"
class: "URxvt"
title: "tmonti@arch32:~"
There is a way to set istance or class to turses?
Thank you.
Last edited by monotiz (2012-05-08 10:03:10)
Offline
Hi @monotiz.
Thank you for reporting this, I'll take a look at it. Glad you like turses!
-- Alejandro
Offline
Not sure why, but I've noticed turses seems to be crash immediately and return to the terminal if I look at my "favorites" or "messages" columns (which appear by default)... is there a log written somewhere or a debug/verbose mode I could use?
Offline
@rlevArch the 0.1.9 version had that critical bug, I fixed it last night and made a new release. You can find it in AUR.
-- Alejandro
Offline
I've got a small problem with the instance/class properties. DWM can't recognize turses:
[tmonti@arch32 ~]$ xprop |awk ' > /^WM_CLASS/{sub(/.* =/, "instance:"); sub(/,/, "\nclass:"); print} > /^WM_NAME/{sub(/.* =/, "title:"); print}' instance: "urxvt" class: "URxvt" title: "tmonti@arch32:~"
There is a way to set istance or class to turses?
So far I've managed to set the title:
$ xprop |awk ' t
/^WM_CLASS/{sub(/.* =/, "instance:"); sub(/,/, "\nclass:"); print}
/^WM_NAME/{sub(/.* =/, "title:"); print}'
instance: "urxvt"
class: "URxvt"
title: "turses"
Can DWM recognize turses by its title?
-- Alejandro
Offline
Can DWM recognize turses by its title?
yes, see the third column in rules[] (in your config.h)
Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub
Offline
So, I doubt this is a turses issue, but for some reason in my urxvt terminal turses looks like this:
http://shells.myw3b.net/~endeavor/files/turses.png
When I would like it to look like the screenshot on the github page: https://a248.e.akamai.net/camo.github.c … 742e706e67
Any thoughts?
Offline
@endeavor what font are you using? I'm using Terminus and it supports all the characters used in turses.
I've just had a similar issue due to a missconfiguration in
/etc/locale.gen
; the API wouldn't even authenticate reporting a "unsupported locale setting".
-- Alejandro
Offline
@dialelo I have no idea what font I'm using. How do I tell?
Offline
@endeavor try with:
$ xrdb -query | grep font
-- Alejandro
Offline