A Chrome extension which uses the Power of OpenAI and Langchain to summarize an external link when hovering over it.
We use Bun, a fast all-in-one JavaScript runtime.
This project was created using bun init in bun v1.0.25.
bun installTo run:
bun devIt runs Bun's watch and a local server.
The server uses Miniflare alongside with Hono and Cloudflare Worker.
Start the server
bun serverThe output file will be put inside dist as index.js. Use that to install it.
In development, you need to add this extension. Please, check out this tutorial.
I wrote a (hopefully) comprehensive series about this repository.
- Structure and manifest.json
- Add development environment with Bun and Typescript
- Add Streaming and Summarizer with LangChain and OpenAI
- Hoisting Code before Initialization with ts-morph
- Add a Proxy Server with Miniflare and Cloudflare Workers
- Add authentication (with Lucia?)
- Add more Styling
- Publish to Google Web store with GitHub actions

