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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for url_instax-0.0.1.tar.gz
Algorithm Hash digest
SHA256 33be48d98239f569b9f056cae7a1feb7cdc78c47337b553eb2c6d5c55441680d
MD5 9d388be476c2d223c333541281f2d27b
BLAKE2b-256 ef45a9c2755f733f1d1224d7ed6310ddaba33f4c2958945b2d45ce316e486533

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for url_instax-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 613dfbca93678a4cb81c867d5aac51226f3a1662942d43069468eff8bbf23952
MD5 da5fc476169c0985e1073692e1ba47cc
BLAKE2b-256 46e5d06519ae2f95d5e102bed798470e017493cc65d98103b776eefcbc72af2f

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