Globestudio

v0.3.0
io.github.alevizio/globestudio Checked 1 day ago Published 1 day ago

Generate dotted-globe maps, share URLs, and embed snippets from chat.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_presets List looks

List every Globestudio look preset with its id, name, blurb, vibe tags, thumbnail URL and embed URL. Call this first when the user asks about available looks.

find_presets Find looks by style

Fuzzy-find presets by vibe / aesthetic / use-case keyword. Examples: 'synthwave' → Vapor; 'print' → Halftone, Risograph, Newsprint; 'retro' → CRT, BadTV, Pixel; 'glow' → Aurora, Bloom. Returns ranked matches.

ParameterTypeDescription
vibe *stringVibe keyword. Single word or short phrase.

build_share_url Build a share link

Build Globestudio URLs for a customized globe. Start from a preset (look) or change an existing link (share_url, e.g. one the user pasted): pass only the settings to change and everything else in the link is kept. Returns share_url (opens the studio with those settings) and embed_url (the bare canvas, for iframes).

ParameterTypeDescription
backgroundstringBackground hex.
configobjectAny other setting, using the keys read_share_url returns in config, e.g. {"viewMode": "flat"} or {"globeSettings": {"autoSpin": false}}. {"viewSwitch": true} gives the embed a Globe and Map switch in…
densityinteger
dotColorstringHex color, e.g. '#3df4ff'.
lookstringPreset id, e.g. 'halftone'. Required unless share_url is given.
selectionstringRegion: 'world' (default), ISO country code ('JP' or 'JPN'), country name ('Japan'), continent ('Europe'), or subregion ('Western Europe').
shapestring
share_urlstringA Globestudio link to change instead of starting from a preset.

read_share_url Read a share link

Decode a Globestudio link (a studio share link, a /looks/<id> link or an /embed URL) into the look and settings it carries. Use it when the user pastes a link, then pass the link as share_url to build_share_url with the changes they ask for.

ParameterTypeDescription
url *stringThe Globestudio link, e.g. 'https://globestudio.app/?c=…'.

embed_snippet Get embed code

Generate paste-ready embed code for any preset. Choose 'iframe' (HTML for Webflow / Notion / WordPress), 'react' (drop-in component), or 'script-tag' (vanilla JS loader).

ParameterTypeDescription
look *stringPreset id.
frameworkstring
heightNumber of pixels OR string.
widthNumber of pixels OR string like '100%'.

preview_url Get a look's preview links

Get the canonical live embed URL + thumbnail PNG URL for a single preset. Useful when you want to render an inline preview without building a full share URL.

ParameterTypeDescription
look *stringPreset id.