Skip to content

Site files

Where each of a site’s files lives, and what each one is. Served over MCP as vizitka://docs/layout, and by describe_vocabulary with topic=layout.

The paths a site may hold: site.json, layouts/<name>.vzk, pages/<path>.vzk, pages/index.vzk, pages/<path>/[slug].vzk, pages/<path>.txt.vzk, components/<Name>.vzk, models/<Name>.ts, tables/<handle>.json, locales/<language>/<file path>.json, <file path>.notes.md, tests/<file name>.test.ts, artifacts/<name>.vzk, artifacts/<name>.json, workflows/<handle>.json, integrations/<name>.ts, integrations/<name>.json, integrations/<name>/integration.json, integrations/<name>/jobs/<job>.ts, integrations/<name>/tables/<table>.json, integrations/<name>/pages/<path>.vzk, integrations.json, scripts/<name>.js, stylesheet.css, importmap.json, README.md, AGENTS.md, CLAUDE.md, LICENSE, .gitignore, .gitattributes, .github/<path>.

File What it is
site.json its edition and the fields every file reads
layouts/site.vzk a layout, which wraps the pages
pages/index.vzk the page at /
pages/blog.vzk the page at /blog (so is pages/blog/index.vzk)
pages/blog/[slug].vzk the page each row has, under /blog
pages/robots.txt.vzk a text page, the text at /robots.txt (a .xml.vzk or .json.vzk page answers XML or JSON)
components/PostCard.vzk the component <PostCard>
models/Booking.ts the functions any file may call as Booking.<name>
tables/posts.json the table posts: its fields, and who may read and write its rows
locales/uk/pages/blog.json the words of pages/blog.vzk in Ukrainian
pages/blog.notes.md a person’s notes on the blocks of pages/blog.vzk
tests/guestbook.test.ts scenarios the site’s pages are played by
artifacts/sales.vzk an artifact, drawn on its own at no address
artifacts/sales.json what it is: its title, kind, reads, settings
workflows/bread_price.json a workflow: its name, state and definition
integrations/weather.ts a job’s code, which its host runs with no page
integrations/weather.json the job’s manifest: what its code may use, and what starts it
integrations/shop/integration.json a package’s manifest: what its jobs may use, and what starts each one
integrations/shop/jobs/orders.ts a job of the package shop, which its manifest names under jobs
integrations/shop/tables/orders.json a table of the package shop, the site’s table shop_orders
integrations/shop/pages/index.vzk a page of the package shop, at /-/integrations/shop
integrations.json the integrations Vizitka ships that the site uses: each one switched on or off, with its settings
scripts/application.js the site’s own JavaScript, imported by its path
stylesheet.css the site’s stylesheet
importmap.json the packages it pins from the web
README.md a file the repository holds and the compiler never reads, as are LICENSE and any file under .github/