The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.
TypeScript ai-receptionistanswering-serviceappointment-bookinglivekitlocal-firstmcpopen-sourceself-hostedsiptelephonytypescriptvoice-agentvoice-ai
// Renders the icon SVGs to PNGs at their sizes with headless Chromium (scripts/icons.sh).
import { readFileSync } from 'node:fs'
import { chromium } from '@playwright/test'
const svg = name => readFileSync(new URL(`../build/${name}`, import.meta.url), 'utf8')
const browser = await chromium.launch()
const page = await browser.newPage()
async function render(source, size, out) {
await page.setViewportSize({ width: size, height: size })
await page.setContent(
`<style>html,body{margin:0;background:transparent}svg{width:${size}px;height:${size}px;display:block}</style>${source}`,
)
await page.screenshot({ path: new URL(`../${out}`, import.meta.url).pathname, omitBackground: true })
}
await render(svg('icon-mac.svg'), 1024, 'build/icon.png')
for (const size of [256, 128, 64, 48, 32, 16]) await render(svg('icon-win.svg'), size, `build/win-${size}.png`)
await render(svg('icon-win.svg'), 512, 'static/icon.png')
await render(svg('icon-win.svg'), 32, 'static/tray.png')
await browser.close()