Skip to content

A backend service that simplifies complex text into easy-to-understand language using Cloudflare’s AI and the Hono framework. Made specifically for Simplr chrome extension

License

Notifications You must be signed in to change notification settings

jaimzh/Simplr-be

Repository files navigation

Simplr API – Text Simplification Backend

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


Endpoint

POST /simplify

Simplifies user-provided text using an AI model hosted on Cloudflare.

Request

{
  "text": "Input text to be simplified."
}

Response

{
  "response": "Simplified version of the input text."
}

If the request is missing the text field, the server returns:

{
  "error": "Text is required"
}

Technology

  • Hono – Lightweight web framework for Cloudflare Workers
  • Cloudflare AI – For LLM-powered text generation
  • LLaMA 3.1 8B Instruct (fast) model

Deployment

This API is designed to run on Cloudflare Workers. You must have:

  • A Cloudflare account
  • Workers & AI enabled
  • The environment variable AI configured in wrangler.toml

🔐 License

This project is licensed under the MIT License.

About

A backend service that simplifies complex text into easy-to-understand language using Cloudflare’s AI and the Hono framework. Made specifically for Simplr chrome extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published