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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for url_instax-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dcf92898b1a599bb6ba3d06507be1449850c220e2b325a781942ad8d1ceadbf9
MD5 2b94a703c2e92ed6d5f782646bef1f21
BLAKE2b-256 7be7a36261ac93f782bcc87c29cbe18f4bdd823d04dce378f053f39d9a727d94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for url_instax-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dc840dff41dea05fe80a3f8ffa8a4808d54e591d79a6ac360907f19227a7765
MD5 f92defb7bc59532fdbf0797a53dd62fa
BLAKE2b-256 e19ade3d461eeeb5f080b62ce4d0ff955c2517d4a0e49397096f9c05c4e976f5

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