{"id":22267911,"url":"https://github.com/cfmvcarlos/hyperscripttesting","last_synced_at":"2025-08-23T10:11:39.961Z","repository":{"id":264354763,"uuid":"892104667","full_name":"CFMVCarlos/HyperScriptTesting","owner":"CFMVCarlos","description":"HyperScriptTesting is a sandbox project for experimenting with HyperScript, a lightweight scripting language designed to make web development more expressive and interactive. This project demonstrates how HyperScript can simplify tasks like DOM manipulation, event handling, and animations directly within HTML.","archived":false,"fork":false,"pushed_at":"2024-11-23T16:18:35.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T14:45:44.952Z","etag":null,"topics":["css3","html5","hyperscript"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/CFMVCarlos.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-21T14:15:47.000Z","updated_at":"2024-11-23T16:18:37.000Z","dependencies_parsed_at":"2024-11-23T17:21:42.508Z","dependency_job_id":"a70b21e0-19b6-4422-836a-8bf96d4c9532","html_url":"https://github.com/CFMVCarlos/HyperScriptTesting","commit_stats":null,"previous_names":["cfmvcarlos/hyperscripttesting"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CFMVCarlos/HyperScriptTesting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CFMVCarlos%2FHyperScriptTesting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CFMVCarlos%2FHyperScriptTesting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CFMVCarlos%2FHyperScriptTesting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CFMVCarlos%2FHyperScriptTesting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CFMVCarlos","download_url":"https://codeload.github.com/CFMVCarlos/HyperScriptTesting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CFMVCarlos%2FHyperScriptTesting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746551,"owners_count":24813570,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["css3","html5","hyperscript"],"created_at":"2024-12-03T11:09:34.284Z","updated_at":"2025-08-23T10:11:39.944Z","avatar_url":"https://github.com/CFMVCarlos.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HyperScriptTesting\n\n## Overview\n**HyperScriptTesting** is a sandbox project for experimenting with **HyperScript**, a lightweight scripting language designed to make web development more expressive and interactive. This project demonstrates how HyperScript can simplify tasks like DOM manipulation, event handling, and animations directly within HTML.\n\n## Features\nThis project showcases various **HyperScript** functionalities, including:\n- Array manipulation: Log, modify, and iterate through arrays.\n- String handling: Concatenate, format, and log strings dynamically.\n- Conditional rendering: Display elements based on conditions.\n- Attribute manipulation: Update or increment attributes dynamically.\n- Event handling: Respond to user interactions such as clicks, key presses, and mouse movements.\n- Custom events: Trigger and listen to custom events.\n- Animations and transitions: Smoothly transition styles or toggle visibility.\n- DOM measurements: Retrieve element dimensions and positions.\n- Behavior definitions: Modularize interactive behaviors for reuse.\n\n### Highlighted Examples\n1. **Button Toggles**: Change styles, toggle visibility, or toggle classes on button clicks.\n2. **Custom Events**: Trigger custom events and display responses.\n3. **Array Operations**: Random selection, first/last item access, and iteration over arrays.\n4. **Dynamic Attributes**: Increment or manipulate attributes like `data-counter` and `placeholder`.\n5. **ContentEditable Mutation Handling**: Monitor and count changes to contenteditable elements.\n6. **Element Removal**: Remove elements dynamically and adjust related elements.\n7. **Real-Time Filtering**: Filter and display list items based on user input.\n8. **Timed Transitions**: Queue animations and transitions for seamless effects.\n\n## Installation\nTo set up the project locally:\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/CFMVCarlos/HyperScriptTesting.git\n    ```\n2. Navigate to the project directory:\n    ```bash\n    cd HyperScriptTesting\n    ```\n\n## Usage\n1. Open `index.html` in your preferred web browser.\n2. Interact with the various examples on the page to see **HyperScript** in action.\n3. Experiment with the code in the `\u003cscript\u003e` tag or add new scripts to explore additional **HyperScript** capabilities.\n\n## Requirements\n- A modern web browser that supports JavaScript.\n- An internet connection to load the HyperScript library from its CDN.\n\n## Resources\n- [HyperScript Documentation](https://hyperscript.org/docs)\n- [HyperScript GitHub Repository](https://github.com/bigskysoftware/_hyperscript)\n\n## Author\n\n- [Carlos Valente](https://github.com/CFMVCarlos)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfmvcarlos%2Fhyperscripttesting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfmvcarlos%2Fhyperscripttesting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfmvcarlos%2Fhyperscripttesting/lists"}