twtr

command module
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2022 License: MIT Imports: 27 Imported by: 0

README

twtr

Build Status

twtr is a simple client in Go for twtxt -- the decentralised, minimalist microblogging service for hackers.

Install

go install github.com/tkanos/twtr@latest

Configuration

twtr looks for config.yaml in the following directories. Example configuration in config.yaml.example.

  $XDG_BASE_DIR/config/twtr
  $HOME/config/twtr
  $HOME/Library/Application Support/twtr
  $HOME/.twtr

Or you can set a directory with twtr -dir /some/dir.

A cache file will be stored next to the config file.

If you want to read your own tweets, you should follow yourself. The twturl above is used for highlighting mentions, and for revealing who you are in the HTTP User-Agent when fetching feeds.

TODO?

  • http: think about redirect, and handling of 401, 301, 404
  • cli/http: a "follow" command should probably resolve 301s
  • cache: behaviour when adding/removing following
  • following: require unique URL?
  • Being able to crypt rooms ?
  • ...

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL