{"id":25931166,"url":"https://github.com/axeon-software/stupidconsole","last_synced_at":"2025-03-03T23:58:17.085Z","repository":{"id":57373122,"uuid":"155308673","full_name":"axeon-software/StupidConsole","owner":"axeon-software","description":"Replicate console messages to a floating window. ","archived":false,"fork":false,"pushed_at":"2018-12-05T16:50:18.000Z","size":1277,"stargazers_count":6,"open_issues_count":6,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-25T22:20:43.339Z","etag":null,"topics":["console","debugger-visualizer","dom","js"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/axeon-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-30T01:58:01.000Z","updated_at":"2022-11-30T10:59:32.000Z","dependencies_parsed_at":"2022-08-29T14:42:08.769Z","dependency_job_id":null,"html_url":"https://github.com/axeon-software/StupidConsole","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axeon-software%2FStupidConsole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axeon-software%2FStupidConsole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axeon-software%2FStupidConsole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axeon-software%2FStupidConsole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axeon-software","download_url":"https://codeload.github.com/axeon-software/StupidConsole/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241758968,"owners_count":20015248,"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":["console","debugger-visualizer","dom","js"],"created_at":"2025-03-03T23:58:16.441Z","updated_at":"2025-03-03T23:58:17.072Z","avatar_url":"https://github.com/axeon-software.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Because we need the console to dev but it's not available everywhere\n\n# Stupid Console \n[Demo](https://codepen.io/levavasseur/pen/rqEvVe)\n\n#### Insert stupid-console scripts before any others in the ```\u003chead\u003e``` section.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/stupidconsole/dist/stupid-console.min.css\"\u003e\n\u003cscript  src=\"https://unpkg.com/stupidconsole/dist/stupid-console.min.js\"\u003e\u003c/script\u003e\n``` \n\n#### All console outputs will then be replicated in a floating window.\n#### There's also a console input.\n\n[Download ZIP](https://github.com/axeon-software/StupidConsole/releases)\n\n[Download with NPM](https://www.npmjs.com/package/stupidconsole) ``` npm install stupidconsole```\n\n## StupidConsole.GUI \n[Demo](https://codepen.io/levavasseur/pen/YJoLpL)\n\nAllow you to build custom debug window easily \n\n```js\nvar gui = new StupidConsole.Gui('myGui');\n\ngui.addButton(\"yo\", function() {\n    console.log(\"yoooo\")\n});\n\ngui.addInputText(\"type some text\", \"my content\", function(newText, event) {\n   console.log(\"text changed to \" + newText);\n});\n\ngui.addCheckbox(\"uncheck this box\", true, function(checked) {\n    console.log(\"checkbox \" + checked);\n});\n\ngui.addButton(\"hey\", function() {\n    console.log(\"heyyyyy\")\n});\n\ngui.addSelect(\"select one value\", [\"Value1\", \"Value2\", \"Value3\"], function(index) {\n    console.log(\"select changed \" + index);\n});\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxeon-software%2Fstupidconsole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxeon-software%2Fstupidconsole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxeon-software%2Fstupidconsole/lists"}