### Install Optional Dependencies (Ubuntu/Debian) Source: https://github.com/devskale/offpunk/blob/main/README.md Installs optional dependencies for enhanced features like clipboard integration and process title management on Ubuntu/Debian. ```Shell apt-get install xsel python3-setproctitle ``` -------------------------------- ### Install Wayland Clipboard Dependency (Ubuntu/Debian) Source: https://github.com/devskale/offpunk/blob/main/README.md Installs the wl-clipboard utility on Ubuntu/Debian, providing Wayland-specific clipboard integration for features like copying URLs. ```Shell apt-get install wl-clipboard ``` -------------------------------- ### Offpunk Development Setup Source: https://github.com/devskale/offpunk/blob/main/README.md Instructions for setting up the development environment and running the test suite using pip and pytest. ```Shell # Install development requirements pip install -r requirements-dev.txt # Run the test suite pytest ``` -------------------------------- ### Install Offpunk Dependencies with APT Source: https://github.com/devskale/offpunk/blob/main/ubuntu_dependencies.txt Installs a list of essential system and Python 3 packages required for the /devskale/offpunk project using the apt package manager. This includes utilities for file handling, display, clipboard access, image rendering, and various Python libraries for cryptography, web requests, feed parsing, HTML parsing, and character encoding detection. ```shell sudo apt install less file xdg-utils xsel chafa timg python3-cryptography python3-requests python3-feedparser python3-bs4 python3-readability python3-setproctitle python3-chardet file python3-lxml-html-clean wl-clipboard ``` -------------------------------- ### Install Dependencies on Ubuntu/Debian Source: https://github.com/devskale/offpunk/blob/main/README.md This command installs essential Offpunk dependencies on Ubuntu/Debian systems using apt-get. It ensures necessary system libraries are present for core functionality. ```Shell apt-get install python3-cryptography ``` -------------------------------- ### Install Image Display Dependency (Ubuntu/Debian) Source: https://github.com/devskale/offpunk/blob/main/README.md Installs the Chafa utility on Ubuntu/Debian, which enables displaying pictures directly within the console when browsing HTML pages. ```Shell apt-get install chafa ``` -------------------------------- ### Install Gopher Dependencies (Ubuntu/Debian) Source: https://github.com/devskale/offpunk/blob/main/README.md Installs the Python-chardet library on Ubuntu/Debian, which is used for detecting character encoding on Gopher protocols. ```Shell apt-get install python3-chardet ``` -------------------------------- ### Install Web Browsing Dependencies (Ubuntu/Debian) Source: https://github.com/devskale/offpunk/blob/main/README.md Installs optional dependencies required for Offpunk's web browsing capabilities on Ubuntu/Debian. These enable native HTTP/HTTPS requests and HTML rendering. ```Shell apt-get install python3-requests python3-bs4 python3-readability python3-feedparser ``` -------------------------------- ### Install Dependencies with Pip Source: https://github.com/devskale/offpunk/blob/main/README.md This command installs Offpunk's dependencies using pip, typically by referencing a requirements file. It's the standard Python way to manage project dependencies. ```Shell pip install -r requirements.txt ``` -------------------------------- ### Offpunk RC File Configuration Source: https://github.com/devskale/offpunk/blob/main/README.md Demonstrates how to configure Offpunk using an RC file (`offpunkrc`) for persistent settings and startup commands. ```Shell # Example offpunkrc file # Set a theme theme solarized # Go to a homepage on startup go https://gemini.circumlunar.space # Go offline by default offline # Run a sequence of commands subscribe https://example.com/feed.rss tour start ``` -------------------------------- ### Offpunk Core Commands Source: https://github.com/devskale/offpunk/blob/main/README.md Provides access to Offpunk's built-in help system, theme customization, content viewing, subscription management, and navigation tools. ```APIDOC help - Displays a list of available commands or detailed help for a specific command. theme - Allows customization of the user interface theme. view [full|feed|feeds] - 'view full': Displays the full HTML page. - 'view feed': Displays the content of a specific feed. - 'view feeds': Lists all subscribed feeds. subscribe [url] - Automatically discovers and subscribes to RSS/Atom feeds. - Also used for subscribing to web pages for content updates. tour - Manages navigation sessions, saving progress across sessions. mark - Advanced navigation tool, similar to VF-1. handler [mime-type] [command] - Specifies external handler programs for different MIME types. ``` -------------------------------- ### Offpunk Standalone CLI Tools Source: https://github.com/devskale/offpunk/blob/main/README.md Provides descriptions for standalone command-line tools distributed with Offpunk for cache management and terminal rendering. ```APIDOC netcache - A standalone CLI tool to retrieve cached versions of network resources. - Usage example: `netcache -h` for help. ansicat - A standalone CLI tool to render HTML, Gemtext, and images directly within the terminal. opnk - A standalone CLI tool to open any kind of resource (local or network). - Falls back to `xdg-open` if direct terminal display is not possible. ``` -------------------------------- ### Offpunk Cache and Sync Commands Source: https://github.com/devskale/offpunk/blob/main/README.md Manages the offline cache and synchronizes content. Includes the `--sync` command for non-interactive cache building. ```APIDOC --sync [depth] - Builds the cache non-interactively with a configurable depth. - Fetches requested elements and adds them to the tour during synchronization. ``` -------------------------------- ### Offpunk Privacy and Configuration Commands Source: https://github.com/devskale/offpunk/blob/main/README.md Enables privacy features like domain blocking or redirection and allows setting persistent configurations. ```APIDOC redirect [domain] [new_domain|privacy_frontend] - Blocks a specified HTTP domain or redirects all requests to a privacy-friendly frontend (e.g., nitter for Twitter). set [setting] [value] - Sets various configuration options for Offpunk. go [url] - Navigates to a specified URL, often used in RC files to set a homepage. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.