0.7.0 • Published 5 months ago

mytemplate.xyz v0.7.0

Weekly downloads
187
License
MIT
Repository
github
Last release
5 months ago

mytemplate.xyz

A simple website builder for developers.

No-Code Builder

Example

npm.io http://bodhish.in/

Source code for the preview

Steps

1. Create an Index.html file for your website and the basics

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width initial-scale=1" />
    <title>Your Name</title>
  </head>
  <body>
  </body>
</html>

2. Import mytemplate.xyz and customize the data

 <script type="application/json" id="my-template-data">
      {
        "name": "Bodhish Thomas",
        "primaryColor": "indigo",
        "socialLinks": [
          "https://github.com/bodhish",
          "https://www.npmjs.com/~bodhish",
          "https://twitter.com/bodhishthomas",
        ],
        "repositories": [
          "SVdotCO/pupilfirst",
          "afterflood/afterflood.in",
          "coronasafe/care_fe",
          "bodhish/create-reason-react-tailwind"
        ],
        "devToUserId": "bodhish"
      }
    </script>
    <div id="root"></div>
    <script src="https://cdn.jsdelivr.net/npm/mytemplate.xyz@0.0.5/build/Index.js"></script>

3. Deploy the site to netlify or github pages

Options

namestringYour full name
primaryColoroptional(string)black/white/gray/red/orange/yellow/green/teal/blue/indigo/purple/pink
Social Linksarray(string)Your socials links
devToUserIdoptional(string)Your Dev.to user id
repositoriesarray(string)The repositories you want to showcase
productsarray(product)You can showcase your products

Products

titlestringYour product name
descriptionoptional(string)Your product description
imageoptional(string)logo link for your product
tagsarray(string)Tags that you want to add for your product
linksarray(string)Social links for the product

Source

https://github.com/bodhish/mytemplate.xyz

0.7.0

5 months ago

0.6.2

5 months ago

0.6.1

7 months ago

0.6.0

7 months ago

0.5.0

3 years ago

0.5.1

3 years ago

0.4.1

3 years ago

0.3.0

3 years ago

0.4.0

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago