{"id":23276252,"url":"https://github.com/dinoscapeprogramming/website-builder","last_synced_at":"2025-04-06T11:45:16.682Z","repository":{"id":144663962,"uuid":"480101059","full_name":"DinoscapeProgramming/website-builder","owner":"DinoscapeProgramming","description":"Build a nice website without knowing how HTML works","archived":false,"fork":false,"pushed_at":"2022-04-12T11:16:50.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T17:28:25.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DinoscapeProgramming.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-10T18:13:14.000Z","updated_at":"2022-04-10T18:13:37.000Z","dependencies_parsed_at":"2024-03-30T23:15:17.098Z","dependency_job_id":null,"html_url":"https://github.com/DinoscapeProgramming/website-builder","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/DinoscapeProgramming%2Fwebsite-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2Fwebsite-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2Fwebsite-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2Fwebsite-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DinoscapeProgramming","download_url":"https://codeload.github.com/DinoscapeProgramming/website-builder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478254,"owners_count":20945262,"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-12-19T21:30:08.833Z","updated_at":"2025-04-06T11:45:16.657Z","avatar_url":"https://github.com/DinoscapeProgramming.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Website Builder\nBuild a nice website without knowing how HTML works\n\n## Setting up\n\n### Link file with script tag\nFirst copy the file __website-builder.js__ and then add this script tag into your body tag.\n```html\n\u003cscript src=\"website-builder\"\u003e\u003c/script\u003e\n```\n\n## Use the engine\n\n### Function\n```js\nbuild()\n```\n\n### Head and Body Tags\n```js\nbuild(\n  [\n    [\n       \"head\", // tag name\n       {\n         childs: [\n           [\n             \"title\",\n             {\n               innerHTML: \"Demo\"\n             }\n           ]\n         ]\n       } // attributes or childs\n    ],\n    [\n      \"body\", // tag name\n      {\n        innerHTML: \"Hello World!\"\n      }\n    ]\n  ]\n)\n```\n\n### Document Element Attributes\n```js\nbuild(\n  [] // code,\n  {\n    lang: \"en\"\n  } // attributes\n)\n```\n\n### Final Example\n```js\nbuild(\n  [\n    [\n       \"head\", // tag name\n       {\n         childs: [\n           [\n             \"title\",\n             {\n               innerHTML: \"Demo\"\n             }\n           ]\n         ]\n       } // attributes or childs\n    ],\n    [\n      \"body\", // tag name\n      {\n        innerHTML: \"Hello World!\"\n      }\n    ]\n  ], // code\n  {\n    lang: \"en\"\n  } // attributes\n)\n```\n\n## Note\nIf you don't need any attributes you still have to enter an empty object. When you don't need any attributes for the document element you also have to specify an empty object as second parameter.\n\n## About\n\n### Developer\nThe main developer of this project is Dinoscape. I saw some \"programmers\", which can't really code a website. I was thinking about a solution and here it is. You can use it with no credits in any kind, but I would be happy, when you do.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinoscapeprogramming%2Fwebsite-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinoscapeprogramming%2Fwebsite-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinoscapeprogramming%2Fwebsite-builder/lists"}