Skip to main content

pnutty

A TTY client application for pnut.io

Installation using pip

$ pip install --user pnutty

Installation from source

$ git clone https://codeberg.org/thrrgilag/pnutty
$ cd pnutty
$ pip install .

Basic Usage

When you first launch pnutty, you'll need to login your account on pnut.io with the login command.

pnutty% login
Visit the following URL to authorize with pnut.io and paste the token here.

https://pnut.io/oauth/authenticate?client_id=qx87SsGu3NZINwAUxEk1bC1TICzupv5e&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=basic,stream,write_post,follow,presence,messages,files&response_type=token

TOKEN:

After successfully authenticating your timeline will load automatically and new posts will show as they stream in. To get a list of available commands use help.

pnutty% help -v

Documented commands (use 'help -v' for verbose/'help <topic>' for details):
======================================================================================================
again                 Replay the set feed
alias                 Manage aliases
block                 Block a user
blocked               List users you have blocked
bookmark              Bookmark a post
browse                Open a post in the web browser
edit                  Run a text editor and optionally open a file with it
follow                Follow a user
followers             List users who follow you
following             List users you are following
global                Show most recent posts from the Global stream
help                  List available commands or provide detailed help for a specific command
history               View, run, edit, save, or clear previously entered commands
login                 Log in to pnut.io
logout                Log out of pnut.io
macro                 Manage macros
mute                  Mute a user
muted                 List users you have muted
personal              Show most recent posts from your Personal stream
post                  Post to pnut.io
quit                  Exit this application
replies               Show replies (mentions)
reply                 Reply to a post
replyall              Reply to all of a post
replycc               Reply to a post and cc others
replyg                Reply globally to a post
repost                Repost a post
run_pyscript          Run a Python script file inside the console
run_script            Run commands in script file that is encoded as either ASCII or UTF-8 text
set                   Set a settable parameter or show current settings of parameters.
shell                 Execute a command as if at the OS prompt
shortcuts             List available shortcuts
show_post
show_thread
unblock               Unblock a user
unbookmark            Remove a bookmark
unfollow              Unfollow a user
unified               Show most recent posts from your Unified stream
unmute                Unmute a user
unrepost              Repost a post
user                  View a user profile

Client settings can be viewed and altered with the set command.

pnutty% set
Name                    Value                           Description
====================================================================================================================
allow_style             Terminal                        Allow ANSI text style sequences in output (valid values:
                                                        Always, Never, Terminal)
always_show_hint        False                           Display tab completion hint even when completion suggestions
                                                        print
debug                   False                           Show full traceback on exception
echo                    False                           Echo command issued into output
editor                  /usr/bin/nano                   Program used by 'edit'
feed                    True                            Enable live feed
feedback_to_output      False                           Include nonessentials in '|', '>' results
max_completion_items    50                              Maximum number of CompletionItems to display during tab
                                                        completion
quiet                   False                           Don't print nonessential feedback
scripts_add_to_history  True                            Scripts and pyscripts add commands to history
show_json               False                           Show raw post json
show_links              False                           Show link to post
timeline                personal                        Set timeline to [unified, or personal]
timing                  False                           Report execution times

Metadata

Release files for pnutty 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pnutty 0.1.0
File Size Uploaded Provenance Actions
pnutty-0.1.0.tar.gz 21.7 kB Without provenance Details for pnutty-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pnutty 0.1.0
File Interpreter ABI Platform Actions
pnutty-0.1.0-py3-none-any.whl Python 3 none any Details for pnutty-0.1.0-py3-none-any.whl

Total release size: 42.6 kB

Release files / pnutty-0.1.0.tar.gz

Download URL pnutty-0.1.0.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
116a85f60887887b544064effcfd30580d5164d6733b2c1ab187e4f9d8592eea
BLAKE2b-256 checksum
How to use checksums
ad458c3586761fd0cbc6e9d7b31c3714bdaf73937fb4ff4d3a4f776d3e200045
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / pnutty-0.1.0-py3-none-any.whl

Download URL pnutty-0.1.0-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8910077603f6913c54f249f95e5680ccbe0148365afef95bccf26544e01d796e
BLAKE2b-256 checksum
How to use checksums
6b68ffbb3c692b637b3e1cd9254e884b14a647c3a805bb77f6ad043fe54a4fa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for pnutty 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page