Pipet: A Swiss-Army Tool for Web Scraping and Data Extraction

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Pipet: A Swiss-Army Tool for Web Scraping and Data Extraction

Summary

Pipet is a versatile command-line web scraper designed for hackers, enabling efficient data extraction from various online assets. It supports HTML parsing, JSON parsing, and client-side JavaScript evaluation, leveraging existing tools like `curl` and `playwright` for powerful and flexible scraping operations. This tool is ideal for tracking information, monitoring changes, and automating data collection tasks.

Repository Information

Analyzed by OSRepos on October 12, 2025

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

Pipet is a powerful and flexible command-line web scraper, often described as a "swiss-army tool" for extracting data from online assets. Built with hackers in mind, it simplifies complex scraping tasks by supporting three primary modes of operation: HTML parsing, JSON parsing, and client-side JavaScript evaluation. Pipet cleverly integrates with existing tools like curl and playwright, and utilizes Unix pipes to extend its built-in capabilities, making it highly adaptable for various data extraction needs. Whether you need to track shipments, monitor stock prices, or get notified about concert tickets, Pipet provides a robust solution.

Installation

Getting started with Pipet is straightforward, with several installation options available:

Pre-built Binaries

The easiest way to install is by downloading the latest release for your operating system from the official Releases page. After downloading, make the binary executable with chmod +x pipet and run ./pipet.

Compile from Source

If you have Go installed on your system, you can compile and install Pipet directly:

go install github.com/bjesus/pipet/cmd/pipet@latest

Alternatively, you can run it without a full installation using go run.

Package Managers

Pipet is also available through various package managers:

Examples

Pipet's strength lies in its intuitive .pipet files, which define how and where to extract data. Here's a quick example to scrape Hacker News:

  1. Create a file named hackernews.pipet with the following content:
    curl https://news.ycombinator.com/
    .title .titleline
      span > a
      .sitebit a
    
  2. Run Pipet:
    go run github.com/bjesus/pipet/cmd/pipet@latest hackernews.pipet
    # Or, if installed:
    pipet hackernews.pipet
    

    This will display the latest Hacker News titles and their associated domains directly in your terminal.

Pipet offers many advanced features, including:

  • Custom Separators: Use the --separator flag to format output.
  • JSON Output: Get results as a clean JSON structure with the --json flag.
  • Templating: Render results into custom HTML or text templates.
  • Unix Pipes Integration: Extend functionality by piping data to other command-line tools like wc or htmlq.
  • Monitoring: Set intervals and commands to run on changes, allowing you to track dynamic content.

Why Use Pipet?

Pipet stands out for its versatility and hacker-friendly design. Its ability to handle HTML, JSON, and JavaScript-rendered content means it can tackle almost any web scraping challenge. By integrating with curl for complex HTTP requests and playwright for headless browser automation, it provides powerful capabilities without reinventing the wheel. The use of Unix pipes allows for seamless integration into existing workflows and custom data processing. Furthermore, its monitoring features make it an excellent tool for staying updated on online information, from personal alerts to business intelligence.

Links

Related repositories

Similar repositories that may be relevant next.

Router: Optimize AI Model Selection and Costs for Agentic Systems

Router: Optimize AI Model Selection and Costs for Agentic Systems

September 28, 2026

The Weave-OS Router is an intelligent model router for agentic systems, optimizing AI model selection for every request. It acts as a drop-in proxy for major AI providers, routing prompts to the most suitable model in under 50ms. This solution helps users significantly cut costs, often by 40-70%, simply by changing an endpoint.

GoAIAgentic Systems
Memoh: An Open-Source Multi-Agent Platform with Dedicated AI Workspaces

Memoh: An Open-Source Multi-Agent Platform with Dedicated AI Workspaces

September 26, 2026

Memoh is an innovative open-source multi-agent platform designed to provide each AI agent with its own dedicated cloud computer. This includes a filesystem, desktop, browser, network, and persistent long-term memory, ensuring agents remain online 24/7. Users can integrate their own API keys or host existing AI models, fostering a versatile and always-on environment for AI development and deployment.

agentaiai-companion
llm-d Router: Intelligent Orchestration for Multi-Phase LLM Inference

llm-d Router: Intelligent Orchestration for Multi-Phase LLM Inference

September 25, 2026

The `llm-d-router` is a sophisticated Go service designed as an intelligent entry point for large language model (LLM) inference requests. It orchestrates complex, multi-phase LLM inference pipelines across specialized worker pools, routing requests through an Inference Gateway to disaggregated vLLM workers. By exposing OpenAI-compatible APIs, it simplifies integration and leverages Kubernetes for scalable, efficient deployments.

aigateway-apiinference
Inference Gateway: Unifying LLM Providers with a High-Performance API

Inference Gateway: Unifying LLM Providers with a High-Performance API

September 25, 2026

Inference Gateway is an open-source, cloud-native, high-performance proxy server designed to unify access to various language model APIs. It provides a single OpenAI-compatible endpoint, simplifying interactions with multiple LLM providers, from local solutions like Ollama to major cloud platforms. This gateway enables seamless integration and management of diverse AI models, enhancing portability and data privacy.

LLM GatewayOpenAI API ProxyCloud-Native AI

Source repository

Open the original repository on GitHub.

22 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️