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.3.tar.gz (90.2 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.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for url_instax-0.1.3.tar.gz
Algorithm Hash digest
SHA256 65f2b74ba513e40481e1a3b7fe43ba56540bff80354490df216e6acd845b84b8
MD5 2134025a13b0e6e49734fb16f29eeba7
BLAKE2b-256 de145c0f4f715544685d5cc4e7161349deae3b922ffaea8f3279937d0215f6c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for url_instax-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cbec04769654f9a2de3bfbf6c43e995d6094b1d7fd767557919fd71f0b5b4591
MD5 6cc955eb9c9ec54839bd483b45a3dd9a
BLAKE2b-256 886a578db170d29fbab9848a7fc45883a6a58d76aefbeff03b7cbf12529d45b3

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