{"id":22967804,"url":"https://github.com/ibensusan/html-web-app-with-fasthtml","last_synced_at":"2025-04-02T05:19:05.407Z","repository":{"id":264432423,"uuid":"891983420","full_name":"iBensusan/HTML-Web-App-with-FastHTML","owner":"iBensusan","description":"Pure Python web app that displays a code snippet using FastHTML framework.","archived":false,"fork":false,"pushed_at":"2024-11-26T09:06:13.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T19:49:27.326Z","etag":null,"topics":["fasthtml","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iBensusan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-21T10:02:13.000Z","updated_at":"2024-11-26T09:06:16.000Z","dependencies_parsed_at":"2024-11-24T09:25:27.293Z","dependency_job_id":"daec878e-02b3-44bf-bbed-e53fb8426e06","html_url":"https://github.com/iBensusan/HTML-Web-App-with-FastHTML","commit_stats":null,"previous_names":["ibensusan/html-web-app-with-fasthtml"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iBensusan%2FHTML-Web-App-with-FastHTML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iBensusan%2FHTML-Web-App-with-FastHTML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iBensusan%2FHTML-Web-App-with-FastHTML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iBensusan%2FHTML-Web-App-with-FastHTML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iBensusan","download_url":"https://codeload.github.com/iBensusan/HTML-Web-App-with-FastHTML/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246758596,"owners_count":20828957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fasthtml","python3"],"created_at":"2024-12-14T21:14:52.290Z","updated_at":"2025-04-02T05:19:05.390Z","avatar_url":"https://github.com/iBensusan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastHTML Web App\n\nWelcome to my **FastHTML Web App**, a minimalist web application built using the Python FastHTML framework!  This project demonstrates how to create lightweight, efficient web applications without the need for complex setups. Perfect for learning or showcasing small-scale projects. Let's dive in!\n\n## Features\n\n- **Minimal Setup**: FastHTML makes it super easy to get started with web development.\n- **Dynamic HTML Rendering**: Learn how to serve dynamic HTML directly from Python scripts.\n- **Customizable**: The app is simple, clean, and can be easily adapted to your needs.\n\n## Requirements\n\n- Python 3.13 or newer.\n- Installed FastHTML framework.\n\n## Installation\n\n1. Clone this repository to your local machine:\n    ```bash\n    git clone https://github.com/yourusername/fasthtml-webapp.git\n    cd fasthtml-webapp\n    ```\n\n2. Set up a virtual environment (highly recommended):\n    ```bash\n    python3 -m venv env\n    source env/bin/activate  # For macOS/Linux\n    env\\Scripts\\activate     # For Windows\n    ```\n\n3. Install the required dependencies:\n    ```bash\n    pip install python-fasthtml\n    ```\n\n## Usage\n\n1. Start the server by running the `app.py` script:\n    ```bash\n    python app.py\n    ```\n\n2. Open your favorite web browser and navigate to:\n    ```\n    http://127.0.0.1:8000\n    ```\n\n3. Voilà! Your web app is up and running. You’ll see a clean, responsive webpage with a button linking to the official FastHTML site.\n\n## Example Workflow\n\n1. Clone the repository and install dependencies (steps above).\n2. Modify the HTML content inside the `app.py` script to suit your project.\n3. Run the app and check the changes in your browser.\n4. Share your FastHTML-powered web app with the world! \n\n## Files\n\n- `app.py`: The main Python script where the web app logic and routes are defined.\n- `README.md`: This beautiful documentation you're reading now. \n\n## License\n\nThis project is licensed under the MIT License, so feel free to use, modify, and share it as you like. Just don't forget to give credit where it's due! \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibensusan%2Fhtml-web-app-with-fasthtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibensusan%2Fhtml-web-app-with-fasthtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibensusan%2Fhtml-web-app-with-fasthtml/lists"}