{"id":17382200,"url":"https://github.com/strd6/pixel-editor","last_synced_at":"2025-10-23T21:31:11.906Z","repository":{"id":57158726,"uuid":"13182952","full_name":"STRd6/pixel-editor","owner":"STRd6","description":"It edits pixels","archived":false,"fork":false,"pushed_at":"2018-09-10T21:46:17.000Z","size":5013,"stargazers_count":141,"open_issues_count":8,"forks_count":29,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-12-15T20:07:11.256Z","etag":null,"topics":["coffeescript","html5","javascript","pixel","pixel-art","pixel-editor"],"latest_commit_sha":null,"homepage":"https://danielx.net/pixel-editor/","language":"CoffeeScript","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/STRd6.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}},"created_at":"2013-09-28T23:51:14.000Z","updated_at":"2024-10-09T02:10:51.000Z","dependencies_parsed_at":"2022-09-07T08:03:41.525Z","dependency_job_id":null,"html_url":"https://github.com/STRd6/pixel-editor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRd6%2Fpixel-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRd6%2Fpixel-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRd6%2Fpixel-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRd6%2Fpixel-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/STRd6","download_url":"https://codeload.github.com/STRd6/pixel-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230511483,"owners_count":18237658,"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":["coffeescript","html5","javascript","pixel","pixel-art","pixel-editor"],"created_at":"2024-10-16T07:35:47.466Z","updated_at":"2025-10-23T21:31:11.830Z","avatar_url":"https://github.com/STRd6.png","language":"CoffeeScript","readme":"Pixel Editor\n============\n\nIt edits pixels\n\n[Live Demo](https://danielx.net/pixel-editor/)\n\nEmbedding Instructions\n======================\n\nThe editor will send a `postMessage` to its parent window when \"Save\" is clicked.\n\nOne thing to note is that this is pointing to the latest version of\nhttps://danielx.net/pixel-editor/ so it might break out from under you. You'd\nprobably want to host a stable version of the editor on your own service after\nyou get it working if you care about that kind of thing.\n\n```html\n    \u003chtml\u003e\n    \u003cbody\u003e\n    \u003c/body\u003e\n    \u003ciframe src=\"https://danielx.net/pixel-editor/\" width=\"100%\" height=\"100%\"\u003e\u003c/iframe\u003e\n    \u003cscript\u003e\n    window.addEventListener(\"message\", receiveMessage, false);\n    function receiveMessage(event) {\n      var origin = event.origin;\n\n      if (origin !== \"https://danielx.net\") {\n        return;\n      }\n\n      var data = event.data;\n      if (data.method === \"save\") {\n        var image = data.image; // HTML5 Blob object\n        var width = data.width;\n        var height = data.height;\n\n        // Post to your server, etc\n        console.log(data);\n      }\n    }\n    \u003c\\/script\u003e\n    \u003c/html\u003e\n```\n\nDeveloper Instructions\n======================\n\nFork on Github https://github.com/STRd6/pixel-editor/fork\n\nGo to http://danielx.net/editor\n\nLoad your fork by clicking \"Load Repo\" and typing in \"\u003cusername\u003e/pixel-editor\"\n\nWhen it loads click \"Run\" to make sure it works\n\nClick \"New Feature\" to start working on a feature branch\n\nModify the code and click \"Run\" to see your changes.\n\nClick \"Save\" to push the code to your feature branch\n\nReview your branch on Github to make a pull request.\n\nHopefully that works, but if not open an issue at https://github.com/STRd6/editor/issues/\nand let me know what's not working.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrd6%2Fpixel-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrd6%2Fpixel-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrd6%2Fpixel-editor/lists"}