Home / Documentation

liteai.me Documentation

liteai.me is an AI-powered platform for creating, previewing, and instantly publishing HTML web apps. It is built for students, non-technical users, and developers who want a fast way to turn app ideas into live websites, mobile apps, or desktop apps.


AI Quick Start: Build and Publish an App in Minutes

Follow this quick start guide to generate a beautiful AI app, preview it instantly, and publish it without setting up hosting or writing code manually.

1

Generate App Code with AI

Open ChatGPT, choose a prompt type below, and paste the exact prompt.

JavaScript App Prompt
Act as a senior frontend developer expert in HTML, Tailwind CSS, and JavaScript.

<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>

Provide a single HTML file containing all HTML, Tailwind CSS, and JavaScript.
App Idea: [Enter your idea]
2

Create, Preview, and Publish

Paste the HTML into the liteai.me online editor, click Preview, and then hit Publish for an instant live link.


Database API

Every LiteAI project allows you to connect a Google Sheet-style interface as your database. You can manage your tables directly in the dashboard UI, or programmatically connect external applications, Python scripts, and websites using our REST API.

Authentication

To use the API, you must generate a Secret API Key from your project dashboard. Include this key as a Bearer Token in the Authorization header of every request.

GET Read Data

Fetch all rows from a specific sheet.

curl -X GET https://liteai.me/api/v1/PROJECT_ID/SHEET_NAME/ \
  -H "Authorization: Bearer YOUR_API_KEY"

POST Insert Data

Add a new row to your sheet. The keys in your JSON payload automatically map to the columns in your database.

curl -X POST https://liteai.me/api/v1/PROJECT_ID/SHEET_NAME/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Alice", 
    "email": "alice@example.com", 
    "age": 28
}'

PUT Update Data

Update an existing row. You must include the id of the row you want to update inside the JSON payload.

curl -X PUT https://liteai.me/api/v1/PROJECT_ID/SHEET_NAME/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "id": 5, 
    "name": "Alice Updated", 
    "status": "Premium"
}'

DELETE Delete Data

Delete a row permanently. You must provide the id of the row in the JSON payload.

curl -X DELETE https://liteai.me/api/v1/PROJECT_ID/SHEET_NAME/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": 5}'

Example: Submitting an HTML Form

You can easily connect an HTML form to your database by intercepting the submit event with JavaScript.

<!-- 1. Build your Form -->
<form id="myForm">
  <input type="text" id="name" placeholder="Name" required>
  <input type="email" id="email" placeholder="Email" required>
  <button type="submit">Save to Database</button>
</form>

<!-- 2. Submit with JavaScript -->
<script>
document.getElementById('myForm').addEventListener('submit', async (e) => {
  e.preventDefault();

  const payload = {
    name: document.getElementById('name').value,
    email: document.getElementById('email').value
  };

  const response = await fetch('https://liteai.me/api/v1/PROJECT_ID/SHEET_NAME/', {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify(payload)
  });

  if (response.ok) {
    alert('Saved successfully!');
  }
});
</script>

Frequently Asked Questions

What is liteai.me used for?

liteai.me is used to generate, preview, and publish HTML web apps quickly. It is especially helpful for students, beginners, and developers who want to launch browser-based apps without complicated setup.

Can I publish apps without coding experience?

Yes. You can use AI to generate a single HTML file, paste it into liteai.me, preview the app, and publish it without manually building a full development environment.

Can I convert my HTML site to an Android or Desktop app?

Yes! Once you have built your HTML app on liteai.me, you can easily convert it into a native Android application (APK) or a Desktop app using our platform.

Can my app save and load data?

Absolutely. Every project allows you to connect a Google Sheet-style interface as your database. You can connect your Android, Desktop, or web app directly to this database to store and retrieve user data using our simple REST API.