All Projects → sjardim → Hugopit

sjardim / Hugopit

An EXPERIMENTAL web based editor for Hugo

Labels

Projects that are alternatives of or similar to Hugopit

Hugo Boilerplate
A Hugo boilerplate for building modern websites
Stars: ✭ 58 (-26.58%)
Mutual labels:  hugo
Hugo Geo
Theme I use for my personal website
Stars: ✭ 65 (-17.72%)
Mutual labels:  hugo
Notfoundbot
fix & archive outgoing links on your website
Stars: ✭ 74 (-6.33%)
Mutual labels:  hugo
Hugo Shortcodes
My Hugo Shortcodes
Stars: ✭ 59 (-25.32%)
Mutual labels:  hugo
Medium To Hugo
Medium stories exporter to markdown/hugo articles.
Stars: ✭ 64 (-18.99%)
Mutual labels:  hugo
Hugo Theme Learn
Porting Grav Learn theme to Hugo
Stars: ✭ 1,155 (+1362.03%)
Mutual labels:  hugo
Simple A
Minimalistic Hugo theme
Stars: ✭ 53 (-32.91%)
Mutual labels:  hugo
Hugo Uilite
Stars: ✭ 79 (+0%)
Mutual labels:  hugo
Hugofy Sublime
Hugo plugin for Sublime Text 3
Stars: ✭ 64 (-18.99%)
Mutual labels:  hugo
Cstate
🔥 Open source static (serverless) status page. Uses hyperfast Go & Hugo, minimal HTML/CSS/JS, customizable, outstanding browser support (IE8+), preloaded CMS, read-only API, badges & more.
Stars: ✭ 1,186 (+1401.27%)
Mutual labels:  hugo
Docker Hugo
🐳 Docker Image for Hugo, a fast and flexible static site generator
Stars: ✭ 60 (-24.05%)
Mutual labels:  hugo
Hugo Journal
Minimalist theme for gohugo
Stars: ✭ 63 (-20.25%)
Mutual labels:  hugo
Hugo Steam Theme
Port of Tommaso Barbato's Ghost theme Steam to Hugo
Stars: ✭ 69 (-12.66%)
Mutual labels:  hugo
Hugo Handbook
Building static website with hugo - https://jimmysong.io/hugo-handbook
Stars: ✭ 58 (-26.58%)
Mutual labels:  hugo
Jakarta.ee
Jakarta EE is the future of cloud native Java. Jakarta EE open source software drives cloud native innovation, modernizes enterprise applications and protects investments in Java EE.
Stars: ✭ 75 (-5.06%)
Mutual labels:  hugo
Hugo
Docker image for Hugo, the static-site generator. Includes HTMLProofer for testing.
Stars: ✭ 54 (-31.65%)
Mutual labels:  hugo
Arewewaylandyet
Sources for https://arewewaylandyet.com
Stars: ✭ 66 (-16.46%)
Mutual labels:  hugo
Castanet
A podcast-oriented theme for Hugo
Stars: ✭ 78 (-1.27%)
Mutual labels:  hugo
Hugo Papermod
A fast, clean, responsive Hugo theme
Stars: ✭ 1,202 (+1421.52%)
Mutual labels:  hugo
Starter Academic
🎓 Easily create a beautiful academic résumé or educational website using Hugo, GitHub, and Netlify
Stars: ✭ 1,158 (+1365.82%)
Mutual labels:  hugo

Hugopit

An EXPERIMENTAL idea for a web based editor for Hugo.

UPDATE: Check a better project using Cockpit + Hugo, builti by @iakta.


THIS IS IN APLHA STATE.

I stumbled upon on the Cockpit CMS, which is built in PHP and uses SQLite (or MongoDB) as database. I've found it very neat, as it has custom fields and other cool stuff and appears to be very fast.

But I wondered if I could adapt it as an editor for Hugo, a static site generator built in Go. As a matter of fact, it worked better than expected. :)

I put together a quick demo video to show my approach and how things worked. I used Cockpit's PHP API to create the .md files for Hugo.

The project's code is all here, but you will need to install Hugo on your machine, of course. You also need to have the requirements for running Cockpit:

  • PHP >= 5.4
  • PDO + SQLite (or MongoDB)
  • GD extension
  • mod_rewrite enabled (on apache)

Screenshots

  1. Cockpit dashboard: https://raw.githubusercontent.com/sjardim/Hugopit/master/cockpit-screenshot.png
  2. Hugo website: https://raw.githubusercontent.com/sjardim/Hugopit/master/hugo-screenshot.png

Why use it?

Although Cockpit appears to have great performance, it still depends on a server running PHP. With this solution, you can have the UX of a web based editor and use Hugo to create a static site that can run everywhere (Github pages, S3, etc). Nothing beats this approach in security (no files and database to worry about).

Why NOT use it

You can't import Hugo content to it, unless you make such code. This was an experiment and only works on creating new content.

Instructions

  1. Download this repo contents
  2. Create a new hugo site: hugo new site mysite
  3. Replace mysite folder contents with the contents you just downloaded
  4. Run hugo server --watch

Note: I recorded the screen on my ultra wide monitor wich has a proportion of 21:9. I noticed after that it wasn't the best of ideas, specially if you watch it on a small monitor.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].