{"id":19574160,"url":"https://github.com/0mppula/cs-go_weapons","last_synced_at":"2026-02-01T04:31:35.232Z","repository":{"id":159135813,"uuid":"367061365","full_name":"0mppula/CS-GO_weapons","owner":"0mppula","description":"A simple web application, that lets the user shoot either a single shot or multiple shots with a selected weapon from the game 'Counter-Strike: Global Offensive'. Created with vanilla JavaScript, HTML \u0026 CSS.","archived":false,"fork":false,"pushed_at":"2021-05-23T09:38:00.000Z","size":5388,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T03:06:17.469Z","etag":null,"topics":["audio","csgo","csgo-weapons","css-animations","css-effects","css3","dom-manipulation","html5","javascript"],"latest_commit_sha":null,"homepage":"https://csgo-weapons.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/0mppula.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":"2021-05-13T13:42:58.000Z","updated_at":"2024-09-09T11:32:08.000Z","dependencies_parsed_at":"2023-05-02T03:58:32.225Z","dependency_job_id":null,"html_url":"https://github.com/0mppula/CS-GO_weapons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0mppula/CS-GO_weapons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mppula%2FCS-GO_weapons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mppula%2FCS-GO_weapons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mppula%2FCS-GO_weapons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mppula%2FCS-GO_weapons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0mppula","download_url":"https://codeload.github.com/0mppula/CS-GO_weapons/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mppula%2FCS-GO_weapons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28967899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T03:46:10.227Z","status":"ssl_error","status_checked_at":"2026-02-01T03:46:01.693Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["audio","csgo","csgo-weapons","css-animations","css-effects","css3","dom-manipulation","html5","javascript"],"created_at":"2024-11-11T06:38:40.216Z","updated_at":"2026-02-01T04:31:35.218Z","avatar_url":"https://github.com/0mppula.png","language":"JavaScript","readme":"# CS:GO Weapons\n\n## Introduction\n\nThis simple \"[web application][1]\" allows the user to cycle through a list of weapons from the game \u003cem\u003eCounter-Strike Global Offensive\u003c/em\u003e. These particular weapons are objects, which are instantiated when the whole page is loaded with the `window.load` event listener. Users can shoot one or multiple shots with each weapon, additionally each weapon can be reloaded as well. When a new weapon is either selected, shot or reloaded a short audio representation of that will be played.\n\n## Technologies\n\nThis web application is coded with vanilla JavaScript, coupled with HTML5 and CSS. The weapons are simply `.png` images, and the audio files are short `.wav` files. My intentions were to implement the functionality of the weapons with JavaScript `classes`, I believe, that I achieved that task relatively well, considering my not so \u003cem\u003esenior\u003c/em\u003e coding skills.\n\n## Additional Info\n\nI initially coded this in late 2020, when learning how to manipulate the DOM with JavaScript. The initial version was a hot mess and packed with spaghetti code... 🍝⌨ In spring-summer of 2021, I refactored the code. After refactoring, the source code is much more readable and it is easier to conceptualize what is going on in the project. I believe there is alot to gain from simply skimming through this code, especially for beginners. 🙂\n\n## Bugs\n\nThere are currently no bugs in this project. ⛱\n\n[1]: https://csgo-weapons.netlify.app/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0mppula%2Fcs-go_weapons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0mppula%2Fcs-go_weapons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0mppula%2Fcs-go_weapons/lists"}