‹ BackHN Continuity

Thread

Sites in ChatGPT

348 points · 340 comments · polvi

  1. rawgabbit · · focus · HN ↗
    I took it for a spin. I used Claude to create a self contained HTML file with JSON data embedded to create a SVG bar chart with sort and filter buttons. I then gave the HTML file to ChatGPT Work and it created the site using the provided HTML code unadulterated.

    I then asked the next question. How can I automatically update the embedded JSON data. It gave two answers which I thought was weird. First, it said I could using a plugin to an MCP server. Second, it said I could use an API and when I asked for which API... it said there was an API available in ChatGPT Sites but no details. So I assume it can be done.

    What I am thinking of is to use ChatGPT sites as a replacement for SharePoint. I can create self contained HTML charts and let employees view it within our enterprise instance of ChatGPT. The piece I am working on is how to automatically update the embedded data from our database.

    1. jonny_eh · · focus · HN ↗
      It should have suggested using Scheduled Tasks, a feature in ChatGPT to run a prompt on a regular interval. The task can fetch up to date data, then make changes to the site and redeploy. Alternatively, if you make the site full-stack, and use the provided DB, the task can update your site by writing to the db directly or by calling an API endpoint on your site.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.