• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

halcy/tootmage: multicolumn terminal mastodon client for shitty nerds

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

halcy/tootmage

开源软件地址(OpenSource Url):

https://github.com/halcy/tootmage

开源编程语言(OpenSource Language):

Python 99.7%

开源软件介绍(OpenSource Introduction):

tootmage

multicolumn terminal mastodon client for shitty nerds.

currently in an extremely alpha here-be-dragons state. code contributions, suggestions, issues and such now welcome.

setup.py forthcoming At Some Point (write me one, please!). Needs prompt-toolkit, mastodon.py from github (1.2.0 will work badly, 1.2.1 will be fine when I getaround to releasing it) and possibly a bunch of other stuff.

termwrap is an improved version of ansiwrap (https://github.com/jonathaneunice/ansiwrap) that works with unicode.

setup:

  • you will be prompted for login stuff on first run
  • DO NOT SHARE THE CONTENTS OF THE .secret FILES WITH ANYONE
  • you can change various things in settings.py. looking at it is recommended
  • by default, notification via notify-send and aplay is attempted - turn that off if you don't need / want it (boop sound graciously provided by @[email protected])
  • there are currently two themes - one that uses RGB colours and unicode ("datawitch"), one that uses none of that ("helvetica standard").

basic operation:

  • You can change the active column using either control+pageup/down or alt+arrowup/down
  • You can scroll the active column with pageup/down
  • Enter commands to do stuff - basic line editing and history are available.
  • The commands available are essentially all the functions in Mastodon.py (Compare http://mastodonpy.readthedocs.io/en/latest/), plus some extra, documented below.
  • Commands are autocompleted either when you hit tab, or when they are executed (hit enter). You can enter commands in shortened form, i.e. enter s-p instead of status_post, or just "r" for "status_reply". Use tab autompletion to discover many more shortcuts.
  • You can autocomplete usernames by entering the start of the username (starting with an @) and pressing tab.
  • You can refer to entries in columns while typing your command by entering ".columnnumber.resultnumber". You can refer to the entries of the active column using "#resultnumber"
  • To view a toot, enter ".columnnumber.resultnumber" or #resultnumber" with no further commands - this also expands CWs.
  • You can actually straight up enter python commands - prefix them with ;
  • If the full version of the entered command starts with "status", the first "." in the first toot parameter is optional

additional commands:

  • "toot text" (short t): posts a toot. text is automatically quoted (quotes are escaped)
  • "status_boost toot" (short b): synonym for status_reblog
  • "status_reply toot text" (short r): does magic to automatically prepend the correct mentions to your post and maintain CWs and such. Also auto-quotes.
  • "status_view toot number": (short v): runs a function (specified in the settings) with the url of the toot as parameter. optionally pass a number as the second parameter to view a numbered url in a toot. the default settings just open firefox, but you could also e.g. make the command put the URL in a HTML file that you can then look at in your browser
  • "status_expand toot" (short x): expands a conversation
  • "quit": does that

things that are bad still and/or known bugs

  • visibility is not retained in replies
  • can't scroll horizontally yet - hope your screen is wide enough (overflow gets cut off on the right)
  • currently no easy way to specify CW, visibility, attach media - have to use the full status_post command to do it
  • everything is a bit user-unfriendly, error output is terrible
  • documentation is bad
  • resizing temporarily breaks screen

screenshots: datawitch helvetica standard




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
yamachu/Mastodot: C# Library for Mastodon API. Easy Toot!发布时间:2022-08-17
下一篇:
donpdonp/zootdeck: Fediverse GTK Desktop Reader发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap