- Created a new HTML page (`index.html`) for the interactive LLM context builder, allowing users to select and combine different `crawl4ai` context files. - Implemented JavaScript functionality (`llmtxt.js`) to manage component selection, context types, and file downloads. - Added CSS styles (`llmtxt.css`) for a terminal-themed UI. - Introduced a new Markdown file (`build.md`) detailing the requirements and functionality of the context builder. - Updated the navigation in `mkdocs.yml` to include links to the new context builder and demo apps. - Added a new Markdown file (`why.md`) explaining the motivation behind the new context structure and its benefits for AI coding assistants.
21 lines
456 B
Plaintext
21 lines
456 B
Plaintext
# Demo: Login Flow with Blockly
|
|
# This script can be created visually using Blockly blocks
|
|
|
|
GO https://example.com/login
|
|
WAIT `#login-form` 5
|
|
|
|
# Check if already logged in
|
|
IF (EXISTS `.user-avatar`) THEN GO https://example.com/dashboard
|
|
|
|
# Fill login form
|
|
CLICK `#email`
|
|
TYPE "demo@example.com"
|
|
CLICK `#password`
|
|
TYPE "password123"
|
|
|
|
# Submit form
|
|
CLICK `button[type="submit"]`
|
|
WAIT `.dashboard` 10
|
|
|
|
# Success message
|
|
EVAL `console.log('Login successful!')` |