{"id":15024200,"url":"https://github.com/givanz/vvvebjs","last_synced_at":"2025-05-13T19:06:02.086Z","repository":{"id":38420635,"uuid":"106573938","full_name":"givanz/VvvebJs","owner":"givanz","description":"Drag and drop page builder library written in vanilla javascript without dependencies or build tools.","archived":false,"fork":false,"pushed_at":"2025-05-03T13:06:33.000Z","size":22566,"stargazers_count":7652,"open_issues_count":254,"forks_count":1721,"subscribers_count":230,"default_branch":"master","last_synced_at":"2025-05-10T18:23:10.278Z","etag":null,"topics":["bootstrap","bootstrap5","builder","drag-and-drop","editor","free","javascript","low-code","no-code","nocode","nodejs","open-source","page-builder","scss","site-generator","ui","vanilla-javascript","website-builder","website-generation","wysiwyg"],"latest_commit_sha":null,"homepage":"https://www.vvveb.com/vvvebjs/editor.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/givanz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"https://paypal.me/zgivan","open_collective":"vvvebjs"}},"created_at":"2017-10-11T15:39:02.000Z","updated_at":"2025-05-10T15:46:46.000Z","dependencies_parsed_at":"2023-10-04T07:30:14.892Z","dependency_job_id":"8778210e-7a0b-496d-9041-e7d1c52435ad","html_url":"https://github.com/givanz/VvvebJs","commit_stats":{"total_commits":178,"total_committers":11,"mean_commits":"16.181818181818183","dds":0.101123595505618,"last_synced_commit":"1a7e4a7367032ad15acddd33df2e27bff190966c"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/givanz%2FVvvebJs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/givanz%2FVvvebJs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/givanz%2FVvvebJs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/givanz%2FVvvebJs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/givanz","download_url":"https://codeload.github.com/givanz/VvvebJs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254010804,"owners_count":21998993,"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":["bootstrap","bootstrap5","builder","drag-and-drop","editor","free","javascript","low-code","no-code","nocode","nodejs","open-source","page-builder","scss","site-generator","ui","vanilla-javascript","website-builder","website-generation","wysiwyg"],"created_at":"2024-09-24T19:59:56.357Z","updated_at":"2025-05-13T19:06:02.039Z","avatar_url":"https://github.com/givanz.png","language":"JavaScript","readme":"# VvvebJs\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://www.vvveb.com/admin/themes/default/img/biglogo.png\" alt=\"Vvveb\"\u003e\n  \u003cbr\u003e\u003cbr\u003e\n  \u003cstrong\u003eDrag and drop page builder javascript library.\u003c/strong\u003e\n  \u003cbr\u003e\n  \u003cspan\u003eBuilt with Vanilla Js with no dependencies or build tools and Bootstrap 5\u003c/span\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.vvveb.com\"\u003eWebsite\u003c/a\u003e |\n  \u003ca href=\"https://github.com/givanz/VvvebJs/wiki\"\u003eDocumentation\u003c/a\u003e |\n  \u003ca href=\"https://github.com/givanz/VvvebJs/discussions\"\u003eForum\u003c/a\u003e |\n  \u003ca href=\"https://twitter.com/vvvebcms\"\u003eTwitter\u003c/a\u003e \n\u003c/p\u003e\n\n\n## [Live Demo](https://www.vvveb.com/vvvebjs/editor.html)\n\nFor a full featured Open Source CMS using VvvebJs page builder check [Vvveb CMS](https://github.com/givanz/Vvveb)\n\nUsing [Vvveb landing page template](https://github.com/givanz/landing) for demo page and Bootstrap 5 sections and blocks.\n\n\u003cimg src=\"https://www.vvveb.com/img/dark-theme.png\"\u003e\n\u003cimg src=\"https://www.vvveb.com/img/light-theme.png\"\u003e\n\n### Features\n\n* Components and blocks/snippets drag and drop and in page insert.\n* Undo/Redo operations.\n* One or two panels interface.\n* File manager and component hierarchy navigation.\n* Add new page modal with template and folder options.\n* Live code editor with codemirror plugin syntax highlighting.\n* Image upload with example php script included.\n* Page download or export html or save page on server with example php script included.\n* Components/Sections/Blocks list search.\n* Bootstrap 5 components.\n* Media gallery with integrated CC0 image search and server upload support.\n* Image, video and iframe elements resize handles.\n* Elements breadcrumb for easier parent elements selection.\n* Full Google fonts list support for font selection.\n* Youtube, Google maps, Charts.js etc widgets.\n* Optional CKEditor plugin to replace builtin text editor.\n* Zip download plugin to download the page and all assets as zip file.\n* SVG Icon component bundled with hundreds of free icons.\n* Animate on scroll support for page elements.\n* Theme global typography and color pallette editor.\n\n\nBy default the editor comes with Bootstrap 5 and Widgets components and can be extended with any kind of components and inputs.\n\n## Install\n\n* Clone the repository \n```bash\n#git 2.13+ \ngit clone --recurse-submodules https://github.com/givanz/VvvebJs\n\n# older git versions \ngit clone --recursive https://github.com/givanz/VvvebJs\n```\n\n* Pull changes \n```bash\ngit pull --recurse-submodules\n```\n\n## Usage\n\nClone the repository or download a release then open `editor.html`\n\nBecause of browser iframe security you need to use a webserver such as apache/xampp and open `http://localhost/editor.html`\n\nTo use the image upload or page save feature you need to have php installed.\n\n\n## Docker\n\n### Local development\n\nFrom VvvebJs folder run\n\n```bash\ndocker-compose up\n```\n\n### Image \n\nOr run image \n\n```bash\ndocker run -p 8080:80 vvveb/vvvebjs\n```\n\nOpen http://localhost:8080/editor.php or http://localhost:8080/editor.html\n\n## Save page\n\nSave page function needs either php or node\n\n### PHP\n\nIf you use docker, xampp or a shared hosting account php should work without any change.\n\nSaving is done using [save.php](save.php)\n\n### Node\n\nFor node go to VvvebJs folder and run\n\n```bash\nnpm install express\nnode save.js\n```\n\nOpen http://localhost:8080/editor.html\n\nSaving is done using [save.js](save.js)\n\n\n## [Landing template](https://github.com/givanz/landing)\n\nTo make changes to template files or sections run the following commands from `demo/landing` folder\n\n### Install gulp\n\n```bash\nnpm i\n```\n\n### Generate html files\n\nTemplate html partials are located in `demo/landing/src` folder.\n\n```bash\nnpm run gulp\n```\n\n### Watch for changes for development\n\n```bash\nnpm run gulp watch\n```\n\n### Generate sections list for page builder\n\nSections html files are located in `demo/landing/src/sections` folder grouped in folders with the section group name.\n\n```bash\nnpm run gulp sections\n```\n\n### Generate blocks list\n\nBlocks html files are located in `demo/landing/src/blocks` folder grouped in folders with the blocks group name.\n\n```bash\nnpm run gulp blocks\n```\n\n### Generate screenshots for sections\n\n```bash\nnpm run gulp screenshots\n```\n\n## Usage\n\n### Initialize example\n\n\n```js\n\u003c!-- bootstrap--\u003e\n\u003cscript src=\"js/popper.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"js/bootstrap.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- builder code--\u003e\n\u003cscript src=\"libs/builder/builder.js\"\u003e\u003c/script\u003e\t\n\u003c!-- undo manager--\u003e\n\u003cscript src=\"libs/builder/undo.js\"\u003e\u003c/script\u003e\t\n\u003c!-- inputs--\u003e\n\u003cscript src=\"libs/builder/inputs.js\"\u003e\u003c/script\u003e\t\n\u003c!-- components--\u003e\n\u003cscript src=\"libs/builder/components-bootstrap5.js\"\u003e\u003c/script\u003e\t\n\u003cscript src=\"libs/builder/components-widgets.js\"\u003e\u003c/script\u003e\t\n\n\u003cscript\u003e\nlet pages = [\n {\n\tname:\"narrow-jumbotron\", \n\ttitle:\"Jumbotron\", \n\turl: \"demo/narrow-jumbotron/index.html\", \n\tfile: \"demo/narrow-jumbotron/index.html\"\n  },\n  {name:\"landing-page\", title:\"Landing page\", url: \"demo/landing/index.html\", file: \"demo/landing/index.html\"},\n];\n\t\n\nlet firstPage = Object.keys(pages)[0];\nVvveb.Builder.init(pages[firstPage][\"url\"], function() {\n\t//load code after page is loaded here\n});\n\nVvveb.Gui.init();\nVvveb.FileManager.init();\nVvveb.SectionList.init();\nVvveb.Breadcrumb.init();\n\nVvveb.FileManager.addPages(pages);\nVvveb.FileManager.loadPage(pages[firstPage][\"name\"]);\nVvveb.Gui.toggleRightColumn(false);\nVvveb.Breadcrumb.init();\n\n\u003cscript\u003e\n```\n\nFor editor html and components/input javascript templates edit [editor.html](editor.html)\n\nFor css changes edit [scss/editor.scss](scss/editor.scss) and [scss/_builder.scss](scss/_builder.scss)\n\n\n### Scss\n\nTo compile scss to css first install gulp \n\n```bash\nnpm i\n```\n\nThen you can run \n\n```bash\nnpm run gulp\n```\n\nor use watch to compile on file change.\n\n```bash\nnpm run gulp watch\n```\n\n\n## Documentation\n\nFor documentation check the [wiki](https://github.com/givanz/VvvebJs/wiki)\n\n## Support\n\nIf you like the project you can support it with a [PayPal donation](https://paypal.me/zgivan) or become a backer/sponsor via [Open Collective](https://opencollective.com/vvvebjs)\n\n\n\u003ca href=\"https://opencollective.com/vvvebjs/sponsors/0/website\"\u003e\u003cimg src=\"https://opencollective.com/vvvebjs/sponsors/0/avatar\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/vvvebjs/backers/0/website\"\u003e\u003cimg src=\"https://opencollective.com/vvvebjs/backers/0/avatar\"\u003e\u003c/a\u003e\n\n## License\n\nApache 2.0\n","funding_links":["https://paypal.me/zgivan","https://opencollective.com/vvvebjs","https://opencollective.com/vvvebjs/sponsors/0/website","https://opencollective.com/vvvebjs/sponsors/0/avatar","https://opencollective.com/vvvebjs/backers/0/website","https://opencollective.com/vvvebjs/backers/0/avatar"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgivanz%2Fvvvebjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgivanz%2Fvvvebjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgivanz%2Fvvvebjs/lists"}