{"id":19936278,"url":"https://github.com/sourcey/designer","last_synced_at":"2025-03-01T12:20:54.352Z","repository":{"id":33971431,"uuid":"163083415","full_name":"sourcey/designer","owner":"sourcey","description":"Rich text page designer for Rails applications","archived":false,"fork":false,"pushed_at":"2023-01-19T10:20:50.000Z","size":636,"stargazers_count":2,"open_issues_count":14,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T01:41:29.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sourcey.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":"2018-12-25T13:04:30.000Z","updated_at":"2023-06-27T14:55:49.000Z","dependencies_parsed_at":"2023-02-10T22:15:13.577Z","dependency_job_id":null,"html_url":"https://github.com/sourcey/designer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcey%2Fdesigner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcey%2Fdesigner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcey%2Fdesigner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcey%2Fdesigner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcey","download_url":"https://codeload.github.com/sourcey/designer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241362650,"owners_count":19950597,"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":[],"created_at":"2024-11-12T23:24:49.557Z","updated_at":"2025-03-01T12:20:54.317Z","avatar_url":"https://github.com/sourcey.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Page Designer\n\nDesign rich text markdown pages in Rails application.\n\n## Installation\n\nAdd the gem to your Gemfile\n\n``\ngem 'designer', github: 'sourcey/designer'\n```\n\nRun the installation task\n\n```\nrake designer:run_installer\n```\n\nAdd the designer engine to your routes\n\n```\nmount Designer::Engine =\u003e \"/designer\"\n```\n\nAdd `acts_as_designer` to each modal you want to use the designer on\n\n```\nacts_as_designer\n```\n\nAdd designer.yml to your config folder.\n\nExample config/designer.yml\n\n```\n---\nimage_sizes: \u0026image_sizes\n- 1920x\n- 1280x\n- 640x\n- 480x\nspec: \u0026default_spec\n  - label: Text\n    template: text\n    properties:\n      text:\n        type: string\n        multiline: true\n        markdown: true\n  - label: Image\n    template: image\n    properties:\n      image_key:\n        type: string\n      caption:\n        type: string\n      size:\n        type: string\n        enum: *image_sizes\n      classes:\n        type: array\n        custom: true\n        enum:\n        - left\n        - right\n        - center\n        - block\n        - pull\n        - parallax\n  - label: Quote\n    template: quote\n    properties:\n      text:\n        type: string\n        multiline: true\n      cite:\n        type: string\n      classes:\n        type: array\n        custom: true\n        enum:\n        - left\n        - right\n        - center\n        - block\n        - pull\n  - label: Separator\n    template: separator\n    properties:\n      size:\n        type: number\narticles:\n  preview_path: /articles/:slug\n  designer_template_path: /articles/designer\n  elements_template_path: /articles/elements\n  spec: *default_spec\nprojects:\n  preview_path: /:slug\n  designer_template_path: /projects/designer\n  elements_template_path: /projects/elements\n  spec: *default_spec\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcey%2Fdesigner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourcey%2Fdesigner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcey%2Fdesigner/lists"}