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.1.tar.gz (90.1 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.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for url_instax-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7c3a71e04ff174ede6c18cce642e05603897c149616bc696dbaa59ce033ac25f
MD5 986fb6d208e30a5f7692136957aa9182
BLAKE2b-256 0713a4a49959e2b52ae600bf53e174768dd0955fef5d8b3be95f3300d2da3814

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for url_instax-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60a3a7472b8f932f1e9369fd11a3601b28ef8a48344cb88864119258d1f85a38
MD5 111326d0bd149b1a39c232dcaba31680
BLAKE2b-256 349634f270dc96180b04d33ad0269999c948a2dc1005f82928b4b777ca9898cc

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