Skip to main content

Screenshot for web page.

Project description

url-instax

Release Build status codecov Commit activity License

Screenshot for web page.

Quickstart

uvx url-instax http

or use docker image

docker run -p 8890:8890 ghcr.io/wh1isper/url-instax:latest

Access http://localhost:8890/docs for openapi docs.

Usage

Open https://url-instax.wh1isper.top:8890/api/v1/screenshot?url=https://example.com in your browser, and you will see a screenshot of the page.

I created a demo server, check https://url-instax.wh1isper.top:8890/docs for GET/POST API specification. This is only for testing and you should not use it for production.

MCP Server

This package includes a simple MCP server for LLM to view web page via screenshot. You can use this config to set up the server:

{
  "mcpServers": {
    "yourware-mcp": {
      "command": "uvx",
      "args": ["url-instax@latest", "mcp"],
      "env": {
        "API_BASE_URL": "http://localhost:8890"
      }
    }
  }
}

if API_BASE_URL is not provided, it will directly use playwright to take screenshot, which you need to install Playwright first via playwright install or uv tool run playwright install.

You can use https://url-instax.wh1isper.top:8890 as the API_BASE_URL for testing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

url_instax-0.1.2.tar.gz (90.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

url_instax-0.1.2-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file url_instax-0.1.2.tar.gz.

File metadata

  • Download URL: url_instax-0.1.2.tar.gz
  • Upload date:
  • Size: 90.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for url_instax-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1b6291f993e99d7f052783460bcb2a261f194261e5befd7db1c458b474de7d97
MD5 8c6486b77781d106977c90fea34c2399
BLAKE2b-256 66dafe41e438dae929d2aa1646b090a63014a6879b4602d8947cc69f66cd7c3a

See more details on using hashes here.

File details

Details for the file url_instax-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for url_instax-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 08e4eb537637f74f827530936bda301f7b6aa588d5d7ef9e630e3b27c4cfadeb
MD5 b86af6a1b7820699301fc368bd8853af
BLAKE2b-256 7c82067116e3c6766109fcdadf35d97e8233018c31f4877f44e498b0599468fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page