{"id":25289029,"url":"https://github.com/moonrailgun/saucer","last_synced_at":"2025-10-27T22:30:54.096Z","repository":{"id":51325652,"uuid":"313561880","full_name":"moonrailgun/saucer","owner":"moonrailgun","description":"A Layout Editor for Drag and Drop","archived":false,"fork":false,"pushed_at":"2021-05-28T09:27:38.000Z","size":2780,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T05:45:42.109Z","etag":null,"topics":["drag","drop","editor","layout","layout-editor","react","saucer"],"latest_commit_sha":null,"homepage":"https://saucer.moonrailgun.com/","language":"JavaScript","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/moonrailgun.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":"2020-11-17T08:59:34.000Z","updated_at":"2024-04-06T17:23:17.000Z","dependencies_parsed_at":"2022-09-24T19:50:32.575Z","dependency_job_id":null,"html_url":"https://github.com/moonrailgun/saucer","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonrailgun%2Fsaucer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonrailgun%2Fsaucer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonrailgun%2Fsaucer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonrailgun%2Fsaucer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moonrailgun","download_url":"https://codeload.github.com/moonrailgun/saucer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238470187,"owners_count":19477790,"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":["drag","drop","editor","layout","layout-editor","react","saucer"],"created_at":"2025-02-12T23:27:51.897Z","updated_at":"2025-10-27T22:30:53.645Z","avatar_url":"https://github.com/moonrailgun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Saucer\n\nA Layout Editor for Drag and Drop\n\n## What is Saucer\n\n`Saucer` is a layout editor framework which can help you build your own layout editor. You can design your `DSL`, and let `Saucer` help you to finish other trivial work.\n\n## Why to use Saucer\n\nWe know, this world has been lots of layout editor, but those project is work for zero code develop, but `saucer` is make for meta develop, its means `saucer` have mini-size and easy to expand, and the output of `saucer` is more necessary.\n\n## Quick Start\n\n```jsx\nimport React from 'react';\nimport ReactDom from 'react-dom';\nimport { regCup } from '@saucerjs/core';\n\nregCup({\n  name: 'Button',\n  displayName: 'Button Component',\n  desc: 'This is a Button',\n  type: 'leaf',\n  render: () =\u003e {\n    return \u003cbutton\u003eClick it!\u003c/button\u003e;\n  },\n});\n\nReactDom.render(\n  \u003cdiv style={{ height: '100vh' }}\u003e\n    \u003cSaucerEditor /\u003e\n  \u003c/div\u003e,\n  document.querySelector('#app')\n);\n```\n\n## For Develop\n\n#### First of all, Link dependency\n\n```bash\nyarn run bootstrap\n```\n\n#### Build it\n\n```bash\nyarn run build\n```\n\n#### Then, check for demo\n\n```bash\nyarn run start\n```\n\n## Proper Nouns\n\n- `Saucer`: This framework\n- `Cup`: `Saucer` have many cup, you can treat it as template.\n- `Tea`: The instance of a `Cup`, every tea have its own attributes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonrailgun%2Fsaucer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoonrailgun%2Fsaucer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonrailgun%2Fsaucer/lists"}