Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

Latest commit

 

History

History
33 lines (21 loc) · 1.77 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.77 KB

IRL HTML

IRL HTML is an app that hosts HTML pages imported as images, either screenshots or photographs of hand written, or printed HTML. Uploaded HTML images are processed with Optical Character Recognition (OCR) and stored in an SQLite Database.

IRL HTML currently supports the following OCR tools:

The multi-modal OCR tools (OpenAI and Anthropic) usually generate the most correct HTML code and use a short custom prompt to inform the model that the uploaded image is HTML and instructs the model to fix any syntax errors.

Running locally

  • cp .env.example .env
  • Update .env with listed variables
  • npm i
  • npm run dev

App should be running on port 3000

Running in production

  • Set up all environment variables in .env.example in your environment
  • npm i
  • npm start

Note on Node.js version

This project intentionally uses some outdated dependencies because it previously used Node.js (16.x) because it was hosted on Glitch, and that was the newest version supported there.