This is the backend API for the Simplr Chrome Extension. It provides an endpoint that simplifies complex or technical text using Cloudflare’s AI platform (LLaMA 3.1 model) and the Hono web framework.
Frontend for Simplr Chrome Extension Repo: Simplr Frontend
Simplifies user-provided text using an AI model hosted on Cloudflare.
{
"text": "Input text to be simplified."
}{
"response": "Simplified version of the input text."
}If the request is missing the text field, the server returns:
{
"error": "Text is required"
}- Hono – Lightweight web framework for Cloudflare Workers
- Cloudflare AI – For LLM-powered text generation
- LLaMA 3.1 8B Instruct (fast) model
This API is designed to run on Cloudflare Workers. You must have:
- A Cloudflare account
- Workers & AI enabled
- The environment variable
AIconfigured inwrangler.toml
This project is licensed under the MIT License.