Toot è uno strumento CLI (interfaccia Linea di Comando) per interagire con le istanze di Mastodon da riga di comando. Toot include un'interfaccia utente da terminaleTUI (Terminal User Interface).
Go to file
Daniel Schwarz baa50ca889 Added a workaround for statuses with malformed HTML
We see this problem with statuses from Pixelfed servers.
Per the Mastodon API spec, the content tag is supposed to be
HTML, but Pixelfed sends statuses that often start as plain text.
They may include embedded anchor tags etc. within the text.
This confuses BeautifulSoup HTML parsers and results in bad
rendering artifacts.

This workaround detects the above condition and attempts to fix it by
surrounding the status in <p></p>. This converts it to nominally
valid HTML (at least, parseable by BeautifulSoup.)
2023-05-15 19:26:20 -04:00
.github/workflows Run tests on pull requests 2023-01-01 11:11:10 +01:00
.vscode added urwidgets dependency 2023-05-15 19:26:09 -04:00
docs Update changelog, bump version 2023-03-09 11:54:19 +01:00
scripts Add checks to tag script 2019-09-03 16:45:31 +02:00
tests Fix integration test skip logic 2023-04-06 21:35:12 +02:00
toot Added a workaround for statuses with malformed HTML 2023-05-15 19:26:20 -04:00
.coveragerc Set up code coverage 2022-11-29 11:54:45 +01:00
.flake8 Ignore warning W503 2023-04-04 19:43:36 -04:00
.gitignore make pytest work properly 2023-04-05 17:14:51 -04:00
.travis.yml Use make command to run tests (for real now) 2019-09-18 21:55:35 +02:00
CHANGELOG.md Update changelog, bump version 2023-03-09 11:54:19 +01:00
CONTRIBUTING.md Update references to new documentation 2023-03-03 16:54:40 +01:00
LICENSE Change license to GPLv3 2017-05-08 09:17:32 +02:00
MANIFEST.in Include tests in sdist 2019-09-18 08:05:07 +02:00
Makefile make pytest work properly 2023-04-05 17:14:51 -04:00
README.rst README.rst: Fix image links 2023-05-15 19:25:04 -04:00
book.css Add new mdbook docs 2023-03-03 13:55:20 +01:00
book.toml Add new mdbook docs 2023-03-03 13:55:20 +01:00
changelog.yaml Update changelog, bump version 2023-03-09 11:54:19 +01:00
requirements-dev.txt added urwidgets dependency 2023-05-15 19:26:09 -04:00
requirements-test.txt Add flake8 to test dependencies 2022-12-27 12:17:31 +01:00
requirements.txt added urwidgets dependency 2023-05-15 19:26:09 -04:00
setup.py added urwidgets dependency 2023-05-15 19:26:09 -04:00
trumpet.png Resize image 2018-06-25 14:30:18 +02:00

README.rst

============================
Toot - a Mastodon CLI client
============================

.. image:: https://raw.githubusercontent.com/ihabunek/toot/master/trumpet.png

Toot is a CLI and TUI tool for interacting with Mastodon instances from the command line.

.. image:: https://img.shields.io/travis/ihabunek/toot.svg?maxAge=3600&style=flat-square
   :target: https://travis-ci.org/ihabunek/toot
.. image:: https://img.shields.io/badge/author-%40ihabunek-blue.svg?maxAge=3600&style=flat-square
   :target: https://mastodon.social/@ihabunek
.. image:: https://img.shields.io/github/license/ihabunek/toot.svg?maxAge=3600&style=flat-square
   :target: https://opensource.org/licenses/GPL-3.0
.. image:: https://img.shields.io/pypi/v/toot.svg?maxAge=3600&style=flat-square
   :target: https://pypi.python.org/pypi/toot

Resources
---------

* Homepage: https://github.com/ihabunek/toot
* Issues: https://github.com/ihabunek/toot/issues
* Documentation: https://toot.bezdomni.net/
* Mailing list for discussion, support and patches:
  https://lists.sr.ht/~ihabunek/toot-discuss
* Informal discussion: #toot IRC channel on `libera.chat <https://libera.chat/>`_

Features
--------

* Posting, replying, deleting statuses
* Support for media uploads, spoiler text, sensitive content
* Search by account or hash tag
* Following, muting and blocking accounts
* Simple switching between authenticated in Mastodon accounts

Terminal User Interface
-----------------------

toot includes a terminal user interface (TUI). Run it with ``toot tui``.

.. image :: https://raw.githubusercontent.com/ihabunek/toot/master/docs/images/tui_list.png

.. image :: https://raw.githubusercontent.com/ihabunek/toot/master/docs/images/tui_compose.png


License
-------

Copyright Ivan Habunek <ivan@habunek.com> and contributors.

Licensed under `GPLv3 <http://www.gnu.org/licenses/gpl-3.0.html>`_, see `LICENSE <LICENSE>`_.