Skip to content

tshrinivasan/twoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Twoot

A python script to send a given text to twitter as tweet and mastodon as toot.

  • Edit the twoot.py
  • Fill the API keys for twitter and mastodon
  • Run it as python3 twoot.py

Using with emacs

I have a cruid hack way to use the same with emacs.

  • copy the twoot.py to /bin
  • Open Emacs
  • Type something
  • Select the text as region
  • Press M-|
  • It will ask for command to run
  • type as twoot.py
  • Done. The selected text at the region will be given as input for the twoot.py and it will be published.

Note

This is not the standard way to integrate things with Emacs. Have to write the same code in elisp to post in twitter and toot at the same time. Till, I learn list and implement on the emacs way, hope this hack is fine.

LICENSE

GPL v3

About

A python bot to publish content as twitter tweet and mastodon toot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages