GithubHelp home page GithubHelp logo

patrickdk77 / wordpress-static-html-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elementor/wp2static

0.0 1.0 0.0 12.8 MB

Benefit from WordPress as a CMS but with the speed, performance and portability of a static site

CSS 0.01% PHP 99.75% Ruby 0.03% Shell 0.04% HTML 0.17%

wordpress-static-html-plugin's Introduction

WordPress Static HTML Output

Allows you to leverage WordPress as a great CMS, but benefit from the speed, security and portability that a static website provides.

Features

  • generates a standalone, static html copy of your whole WordPress website
  • auto-deploy to local folder, FTP, Dropbox or S3
  • one site to unlimited export targets
  • specify extra files to include in the output (ie, dynamically loaded assets)
  • desktop notifications alert you to when exports are complete
  • multi-language support (English/Japanese currently)

Demo site

You can see a working example here of a plain WordPress install which has had a few tweaks done to optimize it for static HTML output. It is hosted on GitHub Pages, but could just as easily be hosted on Dropbox, BitBucket, GitLab, S3, your own server or anywhere else you can host HTML files.

Roadmap

  • selectively export only changed pages since last output
  • auto-deploy your static files via sFTP, SCP, Netlify, Github Pages, etc

Development

Latest development build status: CircleCI

This repo contains the latest code, which you can clone/download to get the bleeding edge, else install via the official WordPress Plugin page

If you'd like to contribute, please follow the usual GitHub procedures (create an Issue, fork repo, submit PR). If you're unsure about any of that, contact me and I'll be happy to help.

Docker quickstart

To quickly try out the plugin, without affecting your other WordPress installations:

  • install Docker
  • `./provisioning/destroy_and_rebuild.sh # view contents of this file to see how it builds
  • above command outputs the IP address of the WordPress container, but you can also run below steps
  • docker ps # get WordPress container's id so you can connect from the host
  • docker inspect __yourcontainerid__ | grep Address # get IP for connecting in your browser
  • open IP in browser and you have a clean WP install, including the plugin (l/p: admin/admin)

There is a great Dockerized FTP server which I've found useful in development. I may extend this to also serve the hosted files for more complete test capabilities. So long as you can install Docker, this is a much less painful way to get a local FTP server and users setup than what I've experienced before.

Support

Please raise an issue here on GitHub or on the plugin's support forum.

Contact

Email me, Leon Stafford, at [email protected]

Donations

Has this plugin helped you save some money on web hosting or otherwise helped you out? Please consider donating via PayPal to help me help others.

wordpress-static-html-plugin's People

Contributors

leonstafford avatar patrickdk77 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.