Free tool · For websites
The board viewer on your website
Paste a div with the board file’s address and one script tag, and the free AI Web Center board viewer appears on your page. Your page reads the file, so nothing changes on your server and forum attachments behind a login work. Options set the theme, your color, a smaller toolbar, and the part, net, side or tab it opens on.
Two lines on your page
Paste these where the viewer should appear, with the address of a board file on your site:
<div class="aiwc-board" data-board="/files/820-00165.zip"></div>
<script src="https://aiwebcenter.com/embed/board-viewer.js" async></script>That’s all. Your page reads the file and hands it to the viewer in the visitor’s browser, so nothing changes on your server, and forum attachments behind a login open for members who are signed in.
Questions or help setting it up: support@aiwebcenter.com.
data-part="U30".Every option
Add any of these to the div. Leave out data-board for an empty viewer your visitors drop their own files on.
| Option | Example | What it does |
|---|---|---|
data-board | /files/820-00165.brd | The board file, or a ZIP holding the board and its schematic |
data-pdf | /files/820-00165.pdf | A schematic PDF, when it isn’t in the ZIP |
data-height | 800px | The viewer’s height. Default 640px |
data-theme | dark | dark or light, to match your site |
data-accent | #3b82f6 | Your color for buttons, tabs and links. #rgb or #rrggbb |
data-tools | minimal | Only open, sides and zoom, for small spaces |
data-part | U7400 | Opens with this part selected and in view |
data-net | PP3V3_S5 | Opens with this net selected and in view |
data-side | bottom | top, bottom or both |
data-open | repair | Starts on a tab: parts, nets, repair or power |
data-ai | https://board-ai.your-name.workers.dev | Your own AI for Ask AI, through a relay that holds your key. See below |
To open a file your page already has in memory, call AiwcBoard.open(element, [{ name: "x.brd", data: arrayBuffer }]).
Recipes
A forum answer that points at the part
The person asking sees the part you mean, on their own board, without downloading anything.
<div class="aiwc-board" data-board="/attachments/12345" data-part="U7400" data-side="bottom" data-tools="minimal"></div>
<script src="https://aiwebcenter.com/embed/board-viewer.js" async></script>A board archive with a viewer on each board’s page
Visitors look before they download. One script tag per page is enough, even with several viewers.
<div class="aiwc-board" data-board="/boards/820-00165.zip" data-theme="dark" data-accent="#f59e0b" data-height="760px"></div>
<script src="https://aiwebcenter.com/embed/board-viewer.js" async></script>A repair guide with the board beside the steps
Each step can show its own part, with a viewer per step.
<div class="aiwc-board" data-board="/guides/a1466.brd" data-pdf="/guides/a1466.pdf" data-net="PP3V42_G3H" data-open="nets"></div>
<script src="https://aiwebcenter.com/embed/board-viewer.js" async></script>Or link to a board
Where you can’t add a script, such as a forum post or an email, a link opens the board on our viewer page. The same options work, without data-:
https://aiwebcenter.com/tools/board-viewer/?board=FILE&pdf=SCHEMATIC&part=U7400- Encode the addressesPut each file address through
encodeURIComponent. - The file’s server must allow itWith a link, our page reads the file, so the server holding it must send
Access-Control-Allow-Origin: https://aiwebcenter.com. GitHub’s raw file addresses already do. Embedding doesn’t need this. - When to use whichEmbed when you run the site and want visitors to stay on it. Link when you’re posting somewhere you can’t add a script.
More on links: Link straight to a board.
Use your own AI
If your site has its own AI account, Ask AI can use it instead of ours, with no monthly limit from us. Put a small relay where your key can stay secret, such as a Cloudflare Worker or your own server, and point the viewer at it:
<div class="aiwc-board" data-board="/files/820-00165.zip" data-ai="https://board-ai.your-name.workers.dev"></div>
<script src="https://aiwebcenter.com/embed/board-viewer.js" async></script>Never put an API key in the page. Anything in your HTML can be read by anyone who opens the page source, and used on your account.
No server of your own: free at forum scale. Paste it into a new Worker and use its address, such as https://board-ai.your-name.workers.dev.
// worker.js: passes Board Viewer questions to your own AI. In Cloudflare, add AI_API_KEY as a secret.
const CORS = { "Access-Control-Allow-Origin": "https://aiwebcenter.com", "Access-Control-Allow-Headers": "Content-Type" };
export default {
async fetch(request, env) {
if (request.method === "OPTIONS") return new Response(null, { headers: CORS });
if (request.method !== "POST") return new Response(null, { status: 405, headers: CORS });
const { messages } = await request.json().catch(() => ({}));
if (!Array.isArray(messages) || messages.length > 20) return new Response(null, { status: 400, headers: CORS });
// Any OpenAI-compatible API: OpenAI, DeepSeek, Mistral, a model you run yourself...
const ai = await fetch("https://api.openai.com/v1/chat/completions", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: `Bearer ${env.AI_API_KEY}` },
body: JSON.stringify({ model: "YOUR-MODEL", messages, max_tokens: 800, stream: true }),
});
return new Response(ai.body, { status: ai.status, headers: { ...CORS, "Content-Type": ai.headers.get("Content-Type") ?? "application/json" } });
},
};- What it receivesA POST with
messages: the repair instructions, the selected part or net with its readings, and the question. The same our AI gets. Never the board file. - What it returnsYour AI’s chat completion as it comes: whole JSON, or a stream (
text/event-stream) that shows the answer as it’s written. - Our library still helpsA question already answered well comes from our library first, without calling your AI. New answers from your AI get the same check of their values as ours, and aren’t added to the library.
- Add a limitThe address is public, so give it a limit per visitor, as you would any page that spends money.
- Any languageThe same few steps in any language: accept the POST, add your key, forward it, return the answer.
If something doesn’t work
- “The board on this page could not be loaded”Your page couldn’t read the file. Check the address. If the file needs a login, the visitor has to be signed in. A file on another server needs that server to allow your site to read it (Access-Control-Allow-Origin with your site’s address).
- Nothing shows, not even the frameYour site’s Content-Security-Policy may block it. Allow script-src and frame-src https://aiwebcenter.com.
- The file is too largeUp to 256 MB opens. Larger files can still be downloaded and opened on a computer.
- It asks for a keyFZ, CAE and XZZ files are encrypted by their maker. The visitor pastes the key they use in their desktop boardview program. We don’t supply keys.
- A RAR or 7z archive won’t openOnly ZIP is read in the browser. Offer the board as a ZIP or as the plain file.
- The format isn’t supportedThe viewer says so and offers to send us the file. We add formats as we go.
- The viewer is crampedRaise data-height, or use data-tools="minimal" for a smaller toolbar.
- The part isn’t selecteddata-part and data-net must match the name on the board, such as U7400 or PP3V3_S5. Letter case doesn’t matter.
Still stuck? Email support@aiwebcenter.com with the page’s address and we’ll help.
What the viewer sends
- The board fileNever, unless a board won’t open and the visitor presses Send. Your page hands it to the viewer in the browser, and it’s gone when the page closes.
- Usage countsDaily totals: boards opened, the file type, the board number if the file’s name has one, and rough time in use. Nothing about the visitor.
- Your site’s nameWith a daily count of how often the viewer opened there, so we know who uses it. Not the page or the visitor.
- Ask AI questionsOnly when the visitor presses Ask: the question and the selected part or net go to our server, and new questions on to our AI provider, DeepSeek, or to your own AI if you use one. Never the file.
- CookiesNone. View settings stay in the visitor’s own browser.
Ask AI on your site
Ask AI answers questions about the open board, from its data and repair notes. For now it’s on for every website that embeds the viewer, free, with a monthly limit per site. For more than that, email support@aiwebcenter.com and we agree a limit and who pays for the questions. Each visitor gets up to 10 new AI questions a day, and answers already in the library don’t count.
Free, with a credit
The viewer is free and stays free. It shows a small AI Web Center strip with links to our site, which takes your accent color, and a credit link above it. Please leave both in place.
Frequently asked questions
Does it cost anything?
No. The viewer is free for any website and stays free. It shows a small AI Web Center strip with links to our site and a credit link. Ask AI is on for now too, free, with a monthly limit per site; for more, we agree a limit and who pays by email.
Do I need to change my server?
No. Your page reads the board file itself and hands it to the viewer in the visitor's browser. Only if the file is on another server does that server need to allow your site to read it. Linking to a board instead of embedding needs the file's server to allow aiwebcenter.com.
Do forum attachments behind a login work?
Yes, for members who are signed in, because your page reads the attachment with their own sign-in. Visitors who aren't signed in get a message instead of the board.
Is the board file uploaded to you?
No. It goes from your site to the visitor's browser and is read there. It's only sent to us if a board won't open and the visitor chooses to send it so we can fix the reader.
Which file formats open?
Test_Link and BRDOUT .brd, .bdv, .bvr, .cad, .cst, .gr, GenCAD, KiCad, Eagle, Altium ASCII, Tebo-ICT .tvw, sets of .asc files, and encrypted .fz, .cae and XZZ files with their key. A ZIP works, with the schematic PDF inside it.
Can I match it to my site's look?
Yes: data-theme for dark or light, data-accent for your own color on buttons, tabs and links, data-tools="minimal" for a smaller toolbar, and data-height for its size.
Can I show several boards on one page?
Yes. Add a div for each board and the script tag once; each div gets its own viewer.
Sources
- Glasgow Interface Explorer (GitHub). 0BSD; the board and schematic in the live example
- MDN: Window.postMessage(). How your page hands the file to the viewer
- MDN: Access-Control-Allow-Origin. Needed only for links, or for files on another server