ChatAPI – PWA to Use ChatGPT by API
ChatAPI – PWA to Use ChatGPT by API
I've built this PWA to use ChatGPT by API. My main motivation was to use the API since it is much cheaper than the premium plan and I only pay for usage. The main inspiration was ChatGPT-web by Niek [1], but I was lacking time to dig into the code base to make changes. Hence I went for a lightweight approach with Alpine.js and Open Props. There is no build step, the dependencies are fetched via CDN. In general it was much fun to work with Alpine.js - being a parent means having very little time. So it was great to not have to invest 20h into learning a new framework. My main ask was something that gives me data binding and does not require a build step. Alpine.js was the perfect fit! A hacky bit I'm proud of is the dynamic loading of languages for syntax highlighting with highlight.js :) Feel free to fork, adapt and host for yourself!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Use DynamoDB with the Redis API (Go)
Use ChatGPT API from Shortcuts
Use ChatGPT, Bing and Bard in one app
How to Use ChatGPT Code Interpreter
Use ChatGPT on any website
ChatHub – use ChatGPT and new Bing side by side
Mappify – What if we could use ChatGPT like a mindmap?
API mocks that use FSMs to closely mimic real back ends
Probably the best ChatGPT API wrapper out there
Use Gemini and ChatGPT side-by-side