{"schemaVersion":1,"resourceType":"connector","slug":"ical","name":"iCalendar","catalog":"ical","description":"Turn .ics calendar feeds into queryable events, to-dos and feed health checks","language":"Java","categories":["formats"],"repository":"https://github.com/Query-farm/vgi-ical","license":"MIT","generatedAt":"2026-12-01T18:22:16+00:00","runtime":{"engineVersion":"2.0.1","protocolVersion":"3.4"},"release":{"tag":"v0.5.0","publishedAt":"2026-11-25T06:27:31Z","url":"https://github.com/Query-farm/vgi-ical/releases/tag/v0.5.0"},"links":{"html":"https://query.farm/products/orchard/connectors/ical/","llms":"https://query.farm/products/orchard/connectors/ical/llms.txt","markdown":"https://query.farm/products/orchard/connectors/ical/index.md","json":"https://query.farm/products/orchard/api/v1/connectors/ical.json","objects":"https://query.farm/products/orchard/api/v1/connectors/ical/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=ical&q={query}"},"authentication":{"mode":"none_declared","guidance":"No service credentials are declared by this connector. Individual datasets, input files or deployments may have their own prerequisites.","interpretation":"Secret parameter required flags describe the upstream declaration; they do not override the service-level mode above. Keep secrets in environment variables or the deployment secret store. SQL values in angle brackets are placeholders, not automatic environment lookups. Native DuckDB and Haybarn 2.0.1 do not provide a SQL getenv() function, even when worker-supplied snippets mention it. Read environment variables in your application and pass credential values through client parameter bindings (for example, Python con.execute(\"CREATE SECRET stripe (TYPE stripe, api_key ?)\", [os.environ[\"STRIPE_API_KEY\"]]) after attaching the connector. Omit unused optional parameters and keep real values out of saved SQL and logs.","secrets":[]},"deployment":{"local":{"methods":[{"id":"docker","label":"Docker","icon":"simple-icons:docker","steps":[{"title":"Attach the signed image","description":"Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.","lang":"sql","code":"ATTACH 'ical' AS ical (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-ical:0.5.0'\n);"}]}],"pinnedMethods":[{"id":"docker","label":"Docker","icon":"simple-icons:docker","steps":[{"title":"Attach the signed image","description":"Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.","lang":"sql","code":"ATTACH 'ical' AS ical (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-ical:0.5.0'\n);"}]}]},"selfHost":{"instructions":"https://github.com/Query-farm/vgi-ical","connectionGuide":"https://query.farm/vgi/connect-to-a-worker/","guidance":"Deploy using the connector repository instructions and use its supported HTTP or SSH transport. Replace example URLs with your actual deployment; configure its authentication."},"queryFarm":{"available":true,"console":"https://auth.queryfarm.cloud/console/new?worker=ical","organizationMonthlyMinimumUsd":10,"pricing":"https://query.farm/products/orchard/hosted/"},"publicDemo":null},"setup":{"extensions":{"duckdb":"SET allow_extension_repositories = 'allowed';\n\nCREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm\n    WITH PREFIX 'https://duckdb-extensions.query.farm';\n\nINSTALL vgi FROM query_farm;\nLOAD vgi FROM query_farm;","haybarn":"INSTALL vgi FROM community;\nLOAD vgi;"},"attachSql":"ATTACH 'ical' AS ical (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-ical:0.5.0'\n);","attachOptions":[],"note":"Install and load VGI, attach the connector using the catalog alias shown here, then create required secrets. Replace placeholders and omit unused optional secret parameters. Satisfy file, network and credential prerequisites before executing a query."},"example":{"title":"Read calendar events as SQL rows","sql":"SET VARIABLE calendar = (SELECT content FROM read_text('team.ics'));\nSELECT summary, dtstart, location\nFROM ical.main.ical_events(getvariable('calendar')::BLOB)\nORDER BY dtstart;","requiresCredentials":null,"note":"Replace team.ics with an exported calendar file on the machine running DuckDB.","objects":[{"name":"ical.main.ical_events","kind":"table_function","links":{"html":"https://query.farm/products/orchard/connectors/ical/#obj-main-ical_events","markdown":"https://query.farm/products/orchard/connectors/ical/objects/table_function.bWFpbg.aWNhbF9ldmVudHM.md","json":"https://query.farm/products/orchard/api/v1/connectors/ical/objects/table_function.bWFpbg.aWNhbF9ldmVudHM.json"}}],"evidence":{"status":"not_captured","note":"No executed result is recorded for this exact example. Catalog verification does not establish that this query ran."},"artifact":null},"objects":{"total":6,"index":"https://query.farm/products/orchard/api/v1/connectors/ical/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=ical&q={query}"},"agentTasks":["You have this iCalendar (.ics) feed:\n\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Query Farm//vgi-ical//EN\nX-WR-CALNAME:Ops Calendar\nBEGIN:VEVENT\nUID:a1@query.farm\nSUMMARY:Deploy release\nDTSTART:20240310T150000Z\nDTEND:20240310T160000Z\nEND:VEVENT\nBEGIN:VEVENT\nUID:a2@query.farm\nSUMMARY:Retro\nDTSTART:20240311T170000Z\nDTEND:20240311T173000Z\nEND:VEVENT\nBEGIN:VTODO\nUID:b1@query.farm\nSUMMARY:Update changelog\nDUE:20240312T170000Z\nSTATUS:NEEDS-ACTION\nEND:VTODO\nEND:VCALENDAR\n\nUsing this worker, count how many events (VEVENT entries) the feed contains. Return the single count.","You have this iCalendar (.ics) feed:\n\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Query Farm//vgi-ical//EN\nX-WR-CALNAME:Ops Calendar\nBEGIN:VEVENT\nUID:a1@query.farm\nSUMMARY:Deploy release\nDTSTART:20240310T150000Z\nDTEND:20240310T160000Z\nEND:VEVENT\nBEGIN:VEVENT\nUID:a2@query.farm\nSUMMARY:Retro\nDTSTART:20240311T170000Z\nDTEND:20240311T173000Z\nEND:VEVENT\nBEGIN:VTODO\nUID:b1@query.farm\nSUMMARY:Update changelog\nDUE:20240312T170000Z\nSTATUS:NEEDS-ACTION\nEND:VTODO\nEND:VCALENDAR\n\nUsing this worker, read the calendar's display name (the X-WR-CALNAME property). Return the single name.","You have this iCalendar (.ics) feed:\n\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Query Farm//vgi-ical//EN\nX-WR-CALNAME:Ops Calendar\nBEGIN:VEVENT\nUID:a1@query.farm\nSUMMARY:Deploy release\nDTSTART:20240310T150000Z\nDTEND:20240310T160000Z\nEND:VEVENT\nBEGIN:VEVENT\nUID:a2@query.farm\nSUMMARY:Retro\nDTSTART:20240311T170000Z\nDTEND:20240311T173000Z\nEND:VEVENT\nBEGIN:VTODO\nUID:b1@query.farm\nSUMMARY:Update changelog\nDUE:20240312T170000Z\nSTATUS:NEEDS-ACTION\nEND:VTODO\nEND:VCALENDAR\n\nUsing this worker, determine whether it is a well-formed iCalendar feed. Return the single boolean.","You have this iCalendar (.ics) feed:\n\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Query Farm//vgi-ical//EN\nX-WR-CALNAME:Ops Calendar\nBEGIN:VEVENT\nUID:a1@query.farm\nSUMMARY:Deploy release\nDTSTART:20240310T150000Z\nDTEND:20240310T160000Z\nEND:VEVENT\nBEGIN:VEVENT\nUID:a2@query.farm\nSUMMARY:Retro\nDTSTART:20240311T170000Z\nDTEND:20240311T173000Z\nEND:VEVENT\nBEGIN:VTODO\nUID:b1@query.farm\nSUMMARY:Update changelog\nDUE:20240312T170000Z\nSTATUS:NEEDS-ACTION\nEND:VTODO\nEND:VCALENDAR\n\nUsing this worker, list the SUMMARY of every event in the feed. Return one summary per row.","You have this iCalendar (.ics) feed:\n\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Query Farm//vgi-ical//EN\nX-WR-CALNAME:Ops Calendar\nBEGIN:VEVENT\nUID:a1@query.farm\nSUMMARY:Deploy release\nDTSTART:20240310T150000Z\nDTEND:20240310T160000Z\nEND:VEVENT\nBEGIN:VEVENT\nUID:a2@query.farm\nSUMMARY:Retro\nDTSTART:20240311T170000Z\nDTEND:20240311T173000Z\nEND:VEVENT\nBEGIN:VTODO\nUID:b1@query.farm\nSUMMARY:Update changelog\nDUE:20240312T170000Z\nSTATUS:NEEDS-ACTION\nEND:VTODO\nEND:VCALENDAR\n\nUsing this worker, list the SUMMARY of every to-do (VTODO) in the feed. Return one summary per row.","You have this iCalendar (.ics) feed:\n\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Query Farm//vgi-ical//EN\nX-WR-CALNAME:Launch Plan\nBEGIN:VEVENT\nUID:p1@query.farm\nSUMMARY:Kickoff\nDTSTART:20240506T090000Z\nDTEND:20240506T100000Z\nEND:VEVENT\nBEGIN:VEVENT\nUID:p2@query.farm\nSUMMARY:Design freeze\nDTSTART:20240508T140000Z\nDTEND:20240508T150000Z\nEND:VEVENT\nBEGIN:VEVENT\nUID:p3@query.farm\nSUMMARY:Launch review\nDTSTART:20240510T160000Z\nDTEND:20240510T170000Z\nEND:VEVENT\nBEGIN:VTODO\nUID:q1@query.farm\nSUMMARY:Draft spec\nDUE:20240507T170000Z\nSTATUS:COMPLETED\nEND:VTODO\nBEGIN:VTODO\nUID:q2@query.farm\nSUMMARY:Final mockups\nDUE:20240508T120000Z\nSTATUS:IN-PROCESS\nEND:VTODO\nBEGIN:VTODO\nUID:q3@query.farm\nSUMMARY:Release notes\nDUE:20240513T170000Z\nSTATUS:NEEDS-ACTION\nEND:VTODO\nEND:VCALENDAR\n\nUsing this worker, summarise the feed in a single row with exactly three columns, in this order: the calendar's display name (text), the number of events (integer), and the number of to-dos whose STATUS is not COMPLETED (integer).","You have this iCalendar (.ics) feed:\n\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Query Farm//vgi-ical//EN\nX-WR-CALNAME:Launch Plan\nBEGIN:VEVENT\nUID:p1@query.farm\nSUMMARY:Kickoff\nDTSTART:20240506T090000Z\nDTEND:20240506T100000Z\nEND:VEVENT\nBEGIN:VEVENT\nUID:p2@query.farm\nSUMMARY:Design freeze\nDTSTART:20240508T140000Z\nDTEND:20240508T150000Z\nEND:VEVENT\nBEGIN:VEVENT\nUID:p3@query.farm\nSUMMARY:Launch review\nDTSTART:20240510T160000Z\nDTEND:20240510T170000Z\nEND:VEVENT\nBEGIN:VTODO\nUID:q1@query.farm\nSUMMARY:Draft spec\nDUE:20240507T170000Z\nSTATUS:COMPLETED\nEND:VTODO\nBEGIN:VTODO\nUID:q2@query.farm\nSUMMARY:Final mockups\nDUE:20240508T120000Z\nSTATUS:IN-PROCESS\nEND:VTODO\nBEGIN:VTODO\nUID:q3@query.farm\nSUMMARY:Release notes\nDUE:20240513T170000Z\nSTATUS:NEEDS-ACTION\nEND:VTODO\nEND:VCALENDAR\n\nUsing this worker, report for every event how many to-dos that are not COMPLETED fall due before the event starts. Events with no such to-do must still appear, with 0. Return one row per event with exactly two columns, in this order: the event SUMMARY (text) and the count (integer), ordered by event start time.","This worker ships a built-in registry of sample iCalendar feeds. Using the worker, find which built-in sample calendar has the most events, and return that calendar's display name."],"provenance":{"generatedAt":"2026-12-01T18:22:16+00:00","repository":"https://github.com/Query-farm/vgi-ical","harvest":{"status":"ok","method":"subprocess","error":null,"vgi_version":"9773130dde"},"catalogVerification":{"verified":true,"status":"passed","total":6,"passed":6,"failed":0,"needs_credentials":0,"location":"java -jar /private/tmp/orchard-protocol34/assets/vgi-ical-v0.5.0.jar","transport":"subprocess","environment":{"vgi_extension_version":"9773130dde","haybarn_version":"2.0.1rc3","engine_version":"v2.0.1","python":"3.12.4","platform":"darwin_arm64","protocol_version":"3.4.0"},"checked_at":"2026-12-01T06:13:35+00:00"},"interpretation":"Catalog verification records the harvest environment. It is not proof that every query or current live API call succeeds. Only an example with captured_result has a saved result for that exact SQL."},"interpretation":["Missing, null, or undeclared metadata means unknown; do not invent defaults, credential scope, platform support or endpoint URLs.","Search is keyword retrieval, not proof of a capability. Read the exact object declaration before generating SQL.","A table and a table function can have the same name. Preserve parentheses and use the matching overload and schema.","Service credentials, external data availability and deployment authentication are separate requirements."]}