An interface to the twister microblogging application from Emacs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1.6 KiB

Build Status

twister.el

An interface from Emacs to the twister microblogging application.

The purpose of this package is to augment other twister clients. Emacs is an editor and, even when using other clients for twister, people may want to post their messages using their editor.

While a view of timelines and follow/unfollow logic may be supported by this client in time, the focus is on making posting and replying as enjoyable as possible from an Emacs perspective.

Dependencies

This library uses https://github.com/skeeto/elisp-json-rpc to issue json rpc commands to the twister daemon. Make sure it is reachable by your emacs load-path.

Usage

(require 'twister)

;; Configure an existing username
(setq twister-user "yournick")

;; Usage from code
(twister-post
  "I have installed twister.el, and it works! -- https://github.com/mrvdb/twister.el  #emacs #twister")


;; Interactive use
(twister-create-post)  ;; Creates a window in which to edit a twister post C-c C-c posts it

(twister-post-buffer)  ;; Posts the current buffer (with length check) to twister
(twister-post-region)  ;; Posts the current region (with length check) to twister

Features

  • posts interactively, a buffer, a region or from code to your twister instance
  • nickname autocompletion
  • shorten links in place
  • syntax highlight for nicknames, hashtags and links (using goto-address-mode)
  • syntax highlight for bold, italic, underline and strike-through

Screenshot