{"id":25655431,"url":"https://github.com/anurag1101/hackpuff","last_synced_at":"2026-05-07T03:34:05.950Z","repository":{"id":274766774,"uuid":"923999268","full_name":"Anurag1101/HackPuff","owner":"Anurag1101","description":"HackPuff is an interactive terminal simulation that takes you through a thrilling \"hacking\" sequence. Watch as messages appear with animated effects, random colors, and sound, all while a dynamic background sets the stage for your virtual hack.","archived":false,"fork":false,"pushed_at":"2025-02-13T14:26:47.000Z","size":14720,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T15:30:27.718Z","etag":null,"topics":["animations-css","css","hacker-terminal","html","javascript","responsive-web-design","soundeffects"],"latest_commit_sha":null,"homepage":"https://hackpuff.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anurag1101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-29T08:23:28.000Z","updated_at":"2025-02-13T14:26:50.000Z","dependencies_parsed_at":"2025-02-13T15:36:22.486Z","dependency_job_id":null,"html_url":"https://github.com/Anurag1101/HackPuff","commit_stats":null,"previous_names":["anurag1101/hackpuff"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag1101%2FHackPuff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag1101%2FHackPuff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag1101%2FHackPuff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag1101%2FHackPuff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anurag1101","download_url":"https://codeload.github.com/Anurag1101/HackPuff/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240383537,"owners_count":19792822,"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":["animations-css","css","hacker-terminal","html","javascript","responsive-web-design","soundeffects"],"created_at":"2025-02-23T21:28:53.278Z","updated_at":"2026-05-07T03:34:05.900Z","avatar_url":"https://github.com/Anurag1101.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HackPuff: A Terminal Simulation\n\n**HackPuff** is a fun, interactive terminal simulation that mimics a fictional data-hacking sequence. This project creates a visually engaging, dynamic **\"hacking\"** experience with colorfully animated messages, random delays, and background transitions. It uses `HTML`, `CSS`, and `JavaScript` to simulate the feeling of a terminal running a hack sequence.\n\n## Features:\n\n- **Interactive Terminal:** Displays various stages of a hack simulation in real-time, with messages like **\"Initializing HackPuff...\"** and **\"Reading your Files...\"**\n  \n- **Animated Text:** Messages appear with random colors and are animated for a more immersive experience.\n\n- **Sound Effects:** Adds sound effects when certain messages (like **\"Cleaning up...\"**) are displayed to enhance the atmosphere.\n\n- **Dynamic Backgrounds:** Changes the background image after the hack sequence, making it look like the \"hack\" was completed.\n\n- **Responsive Design:** Optimized for desktop, tablet, and mobile views to ensure a smooth user experience on different devices.\n\n## Installation:\n\n### Clone the repository:\n\n    git clone https://github.com/your-username/HackPuff.git\n\n### Navigate to the project directory:\n\n    cd HackPuff\n    \n### Open the `index.html` file in your web browser to see the simulation in action.\n\n## How It Works:\n\nThe project runs an interactive sequence of terminal messages that simulate a hacking attempt. Here's how the flow is designed:\n\n- **Message Display:** As soon as the user clicks the **\"Start\"** button, a series of messages are displayed, each message randomly colored and animated for extra emphasis.\n\n- **Random Delays:** To mimic the unpredictability of a hack, random delays are added between each message using JavaScript.\n\n- **Sound Effect:** When the message **\"Cleaning up...\"** appears, a sound effect is triggered to make the cleanup process feel more realistic.\n\n- **Background Change:** After the messages are finished, the page clears, and a new background image (styled like a **\"matrix-hacker\"** environment) is displayed with a final message saying **\"Thank you for your Data.\"**\n\n## Project Structure:\n\n    HackPuff/\n    │\n    ├── index.html        # Main HTML file\n    ├── style.css         # Custom styles for the terminal\n    ├── script.js         # JavaScript file to handle message flow, animations, and sounds\n    ├── matrix-hacker-background.jpg  # Background image used after the hack\n    ├── little-alien-142498.mp3        # Sound effect for the \"Cleaning up...\" message\n\n## Code Explanation:\n\n**addItem Function:**  Adds a message to the screen, applying random colors and animation based on the message.\n\n    const addItem = async (item) =\u003e { ... }\n\n**randomDelay Function:**  Creates a random delay between messages to simulate the unpredictable nature of the hack.\n\n    const randomDelay = () =\u003e { ... }\n\n**main Function:**  Controls the flow of the simulation by displaying each message in sequence, playing sounds, and changing the background once the \"hack\" is complete.\n\n    async function main() { ... }\n\n**Sound Effect:** A sound effect is triggered when the \"Cleaning up...\" message is displayed to enhance the simulation.\n\n    const cleanupSound = new Audio(\"little-alien-142498.mp3\"); \n    cleanupSound.play();\n\n**Button Click Listener:**  Prevents multiple clicks and triggers the start of the simulation when the user clicks the \"Start\" button.\n\n    document.querySelector(\".glow-on-hover\").addEventListener(\"click\", () =\u003e { ... });\n    \n## Usage:\n\n- Click the **\"Start\"** button to begin the simulation.\n\n- Watch as messages pop up with randomized colors and animations.\n\n- Enjoy the sound effects and background transition once the sequence finishes.\n\n## Contributing:\n\nFeel free to fork this project and submit pull requests if you'd like to contribute. Improvements are always welcome!\n\n## License:\n\nThis project is open-source and available under the `MIT` License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanurag1101%2Fhackpuff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanurag1101%2Fhackpuff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanurag1101%2Fhackpuff/lists"}