{"id":15322110,"url":"https://github.com/tompston/gomarvin-editor","last_synced_at":"2026-04-18T04:32:27.095Z","repository":{"id":45746653,"uuid":"477393164","full_name":"tompston/gomarvin-editor","owner":"tompston","description":"Editor for gomarvin configs","archived":false,"fork":false,"pushed_at":"2023-07-27T15:22:38.000Z","size":455,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T21:14:02.199Z","etag":null,"topics":["codegen","javascript","rest-api","typescript","vite","vue"],"latest_commit_sha":null,"homepage":"https://gomarvin.pages.dev","language":"Vue","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/tompston.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":"2022-04-03T16:06:46.000Z","updated_at":"2023-02-15T05:04:29.000Z","dependencies_parsed_at":"2024-12-06T14:43:01.900Z","dependency_job_id":"f6e157d4-3e2d-4191-975b-a3dea8b65aa5","html_url":"https://github.com/tompston/gomarvin-editor","commit_stats":{"total_commits":130,"total_committers":3,"mean_commits":"43.333333333333336","dds":0.07692307692307687,"last_synced_commit":"747500f2f7675fb702d364a35213d4eca6421964"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompston%2Fgomarvin-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompston%2Fgomarvin-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompston%2Fgomarvin-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompston%2Fgomarvin-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tompston","download_url":"https://codeload.github.com/tompston/gomarvin-editor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245898335,"owners_count":20690466,"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":["codegen","javascript","rest-api","typescript","vite","vue"],"created_at":"2024-10-01T09:14:14.353Z","updated_at":"2026-04-18T04:32:22.066Z","avatar_url":"https://github.com/tompston.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Editor for gomarvin configs\n\n- If you're updating from v0.3.x or less to v0.4.x or the frontend crashes for some reason, open DevTools, and run `localStorage.clear()`and reload the page\n- If using a version that is less than 0.4.x, use [this editor](https://7e0e40cb.gomarvin.pages.dev/)\n\n## commands\n\n```bash\nnpm i               # install node_modules\nnpm run dev         # run the project on localhost:3000\nnpm run preview     # preview build on localhost:8888\n```\n\n\u003c!--\n\n// return the size of the stored stuff in localstorage\n// https://stackoverflow.com/questions/4391575/how-to-find-the-size-of-localstorage\n\nvar _lsTotal = 0,\n    _xLen, _x;\nfor (_x in localStorage) {\n    if (!localStorage.hasOwnProperty(_x)) {\n        continue;\n    }\n    _xLen = ((localStorage[_x].length + _x.length) * 2);\n    _lsTotal += _xLen;\n    console.log(_x.substr(0, 50) + \" = \" + (_xLen / 1024).toFixed(2) + \" KB\")\n};\nconsole.log(\"Total = \" + (_lsTotal / 1024).toFixed(2) + \" KB\");\n\n\n\n\n/*\n  --- Centering content + full width backgrounds in html\n      \u003cdiv class=\"flex-center\"\u003e\n          \u003cdiv class=\"max-width-1\"\u003econtent\u003c/div\u003e\n      \u003c/div\u003e\n\n\n\u003ca\n  href=\"qwe\"\n  rel=\"noreferrer\"\n  target=\"_blank\"\n  style=\"text-decoration: none\"\n  \u003eqweqwe\u003c/a\n\u003e\n*/\n\n\ngit add .\ngit commit -m \"next\"\ngit push\n\n\n# delete branch\ngit branch -d gh-pages\n\n# create\n\n\n\u003cscript setup lang=\"ts\"\u003e\nimport { ref } from 'vue'\n\u003c/script\u003e\n\n\u003ctemplate\u003e\u003c/template\u003e\n\n\u003cstyle\u003e\n\u003c/style\u003e\n\n\n\n\u003cdiv class=\"flex-center\"\u003e\n    \u003cdiv class=\"max-width-1\"\u003econtent\u003c/div\u003e\n\u003c/div\u003e\n\n## New vue tips and tricks\n/**\n * https://stackoverflow.com/questions/33731939/vue-js-toggle-class-on-click\n * @click=\"$event.target.classList.toggle('active')\"\n */\n\n\n         \"postbuild\": \"purgecss --css dist/assets/*.css --content dist/assets/*.js -o dist/assets/  --safelist html body\"\n\n --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftompston%2Fgomarvin-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftompston%2Fgomarvin-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftompston%2Fgomarvin-editor/lists"}