docs(v1.5.0): document web server, terminal UI, webhooks, and f-strings in README & update setup.nsi

This commit is contained in:
Adam Eehan committed 2026-10-12 13:13:37 +05:30
1 parent f90ea8cdd1
commit cf9afe103a
2 files changed
+188 -2

No files matched your search

+69 -2
View File
@@ -12,7 +12,7 @@
<p align="center">
<a href="https://marketplace.visualstudio.com/items?itemName=AiraGroupOfTechnology.airalang"><img src="https://img.shields.io/badge/VS_Code_Marketplace-AiraLang-007ACC?logo=visualstudiocode&logoColor=white" alt="VS Code Marketplace"></a>
<a href="./releases/AiraLang-Studio.apk"><img src="https://img.shields.io/badge/Android_APK-AiraLang_Studio-3DDC84?logo=android&logoColor=white" alt="Android APK"></a>
<img src="https://img.shields.io/badge/Version-v1.4.5-brightgreen" alt="Version">
<img src="https://img.shields.io/badge/Version-v1.5.0-brightgreen" alt="Version">
<img src="https://img.shields.io/badge/OS-Windows%20%7C%20Linux%20%7C%20Termux%20%7C%20Android-blue" alt="OS">
<img src="https://img.shields.io/badge/License-MIT-purple.svg" alt="License">
</p>
@@ -262,10 +262,18 @@ let target = nums.find(fn(x) { return x > 4; }); # 5
let sum = nums.reduce(fn(acc, val) { return acc + val; }, 0); # 21
```
### 11. Modern String Interpolation (F-Strings)
Embed dynamic expressions, variables, and calculations directly inside strings with native `f"..."` syntax:
```aira
let name = "Adam Eehan";
let score = 95;
say f"Welcome back, {name}! Your security audit score is {score + 5}/100.";
```
---
## πŸ“¦ Standard Library Modules
> πŸ“š **Detailed Documentation:** For complete syntax, parameters, and examples for all 15 built-in modules, visit the [**Modules Catalog (`modules/`)**](./modules/README.md).
> πŸ“š **Detailed Documentation:** For complete syntax, parameters, and examples for all 22 built-in modules, visit the [**Modules Catalog (`modules/`)**](./modules/README.md).
### πŸ€– Universal AI Integration Engine (`ai`)
Directly integrate Generative AI from ANY provider in the world natively in AiraLang (OpenAI, DeepSeek, Anthropic Claude, Google Gemini, Groq, OpenRouter, Mistral, Ollama, Perplexity, Cerebras, or custom servers):
@@ -427,6 +435,65 @@ say "Current Time: " + time.now();
import "utils.aira";
let output = utils.my_custom_function();
```
### 🌐 Native Micro Web Server Engine (`serve`)
Deploy instant REST APIs, web backends, and microservices directly in AiraLang:
```aira
import "serve";
serve.get("/api/health", fn(req) {
return {"status": "healthy", "service": "AiraLang v1.5.0 Engine"};
});
serve.post("/api/echo", fn(req) {
return {"received": req.body, "sender": "Er. Adam Eehan"};
});
# Start server on port 8080
serve.start(8080);
```
### 🎨 Terminal UI & Aesthetics Suite (`term` / `ui`)
Build professional cyberpunk CLI tools with ANSI formatting, ASCII data tables, and spinners:
```aira
import "term";
say term.rainbow("⚑ Aira Group of Technology ⚑");
term.box("AiraLang v1.5.0 Full-Stack Engine", title="STATUS", color="green");
let headers = ["Module", "Category", "Status"];
let rows = [
["serve", "Web Engine", "Active"],
["sec", "Cyber OSINT", "Active"],
["term", "CLI Suite", "Active"]
];
term.table(headers, rows);
```
### πŸ€– Event Webhooks & Bot Dispatcher (`webhook`, `bot`)
Automate workflows and trigger real-time notifications across Telegram & Discord:
```aira
import "webhook";
import "bot";
# 1-Line Webhook Dispatch
webhook.send("https://webhook.site/endpoint", {"event": "login", "user": "Adam"});
# Telegram & Discord Notifications
bot.telegram_send("YOUR_BOT_TOKEN", "CHAT_ID", "πŸš€ Deployment Successful!");
bot.discord_send("https://discord.com/api/webhooks/...", "πŸ”₯ AiraLang v1.5.0 is live!");
```
### πŸ”‘ Environment Secrets Manager (`env` / `dotenv`)
Safely manage secrets by natively loading `.env` configuration files:
```aira
import "env";
env.load(".env");
let apiKey = env.get("GROQ_API_KEY");
let port = env.get("PORT", "8080");
```
# 🎬 AiraLang `youtube` Module
> **YouTube Video and Audio Downloader Engine (via APM)**