mytikas

1.0.0 • Public • Published

Mytikas - Generate Static Sites with Integrations with CircleCI, Prismic, and Percy.

Mytikas is a toolkit for front-end developers to create static web pages which are integrated with CircleCI, Prismic, and Percy, and ZEIT Now.

It features:

  • an html file for describing an accesible DOM;

  • a css file for styling the DOM;

  • a client-side javascript script to pull down text and images from a content managament API and insert that content into the DOM;

  • a .gitignore file so you don't accidentally commit junk files to version control;

  • a config.yml file telling CircleCI how to test and deploy your website;

  • a package.json file with build time transpilation and deployment scripts.

This leads to:

  • extraordinary performance for users since the DOM is compiled at build time rather than during the request/response cycle like most web pages today;

  • enourmous scaling potential since static sites work great with content distrubtion networks;

  • a low-stress experience for front-end devs due to a logical separation of concerns.

ScreenShot

##Documentation

  1. sign up for a prismic account

  2. create a new repository in prismic

  3. create a page custom type

  4. create a page

  5. create a index.html file

  6. create a index.js file

  7. create static assets

  8. create a .circcleci/config.yml file

  9. create a now.json file

  10. create a sw.js file

  11. upload code folder to github

  12. create circleci account

  13. create percy account

  14. follow project on both

  15. create environment variables

HTML

html

JavaScript

javascript

CSS

Package.json

package.json

CircleCI Config

circleci

/mytikas/

    Package Sidebar

    Install

    npm i mytikas

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.15 MB

    Total Files

    18

    Last publish

    Collaborators

    • jdamiba