HOSTING

Share a Gantt chart as a link with Frappe Gantt

Frappe Gantt draws a project timeline from a short list of tasks in an ordinary HTML page. Put the stylesheet, one script tag and your tasks in one file, upload it, and send a link that opens with the chart drawn.

4 min read·

A project plan inside a project-management tool only opens for people with a seat in that tool. A screenshot of the timeline goes stale the day a date moves.

Frappe Gantt is a small JavaScript library that draws bars, dates and dependency arrows from a list of tasks. One HTML file, hosted at a link, opens as a timeline in any browser.

Build the chart in one file

Create plan.html with this structure:

  • ✓<!doctype html>, <meta charset="utf-8"> and <meta name="viewport" content="width=device-width, initial-scale=1"> in the head.
  • ✓The stylesheet: https://cdn.jsdelivr.net/npm/frappe-gantt@1.2.2/dist/frappe-gantt.css.
  • ✓One script tag with a pinned version: https://cdn.jsdelivr.net/npm/frappe-gantt@1.2.2/dist/frappe-gantt.umd.js.
  • ✓An empty <div id="gantt"></div> in the body.
  • ✓A task list after the div, one object per task: { id: "build", name: "Build", start: "2026-12-06", end: "2026-12-16", progress: 40, dependencies: "design" }. Dates are YYYY-MM-DD, progress is a percentage, and dependencies names the id of the task that comes first.
  • ✓The call that draws it: new Gantt("#gantt", tasks, { view_mode: "Week", readonly: true });
  • ✓Tested on Frappe Gantt 1.2.2 in Chrome: three tasks drew three bars and two dependency arrows.

Options worth setting

view_mode sets the scale. The 1.2.2 build accepts "Hour", "Quarter Day", "Half Day", "Day", "Week", "Month" and "Year". "Week" fits a plan of a few months on one screen.

Without readonly: true, a viewer can drag bars and progress handles in their own browser. Nothing is saved, so the next person sees your original dates, but a reader can be misled by a bar they moved by accident. readonly turns dragging off.

If the script runs before the div exists, nothing draws. In testing, pointing it at a missing element threw "CSS selector "#nope" could not be found in DOM", visible in the browser console.

Prefer a text-only chart? Mermaid has a gantt diagram type: sharing a Mermaid diagram as a link. Plan kept in a spreadsheet? Sharing an Excel sheet as a web page covers that.

Upload it and send the link

Drag the .html file onto the FileShare Pro dashboard and copy the link. The timeline opens in the browser, and viewers need no account.

Turn on comments and teammates can leave a note on the page after typing a name, such as a date that looks wrong. When the plan changes, upload the new file over the old one and the link stays the same: updating a shared link without changing it.

Check whether someone opened your link from the view count on the dashboard.

Frequently asked

How do I share a Gantt chart without giving people access to my project tool?

Build the chart as one HTML file with Frappe Gantt, upload it to a host that serves HTML as a web page, and send the link. Viewers open it in a browser with no account.

Can viewers change the dates?

Only in their own browser, and only if readonly is off. Nothing they drag is saved. Set readonly: true to turn dragging off.

How do I show that one task depends on another?

Give the later task a dependencies field with the id of the earlier task. Frappe Gantt draws an arrow between the two bars.

Is it free?

Yes. The free plan hosts up to 50 files of up to 100 MB each, with view counts and comments included. Password-protected links are on Pro.

Got a page to share?

Drop the file, copy the link — live in seconds, free plan included.

Start sharing free