Git Product home page Git Product logo

hugomac's Introduction

hugomac

Hugomac is an osx menubar app to publish your blog directly to Amazon S3. It uses the wonderful Hugo static site generator to create your blog without having to touch a command line.

Here's the general idea:

  • You keep a directory of (somewhat) publisher-agnostic markdown files in dropbox, git, iCloud or just sitting in your Documents folder
  • You pick a folder where you have a hugo theme (maybe near your documents, maybe from git, it doesn't matter)
  • You hugomac to generate your site and publish it to an S3 bucket which has website hosting turned on

That's it.

installation

  • clone the source
  • do a pod install to get the deps from Cocoapods
  • open the .xcworkspace file and build/run

S3 setup

  • create an S3 bucket and enable it for website hosting
  • get some S3 credentials that have write access to that bucket

content setup

theme setup

  • find a hugo theme, download it to a folder

hugomac setup

  • pick your content directory in hugomac preferences
  • pick your theme directory in hugomac preferences
  • configure hugomac with the bucket name and credentials

Publish!

hugomac's People

Contributors

nickoneill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hugomac's Issues

Add OpenStack Swift support

I would be interested in adding support for OpenStack Swift as an object storage endpoint. I do not have experience with swift (as a programming language), but I am pretty confident in my ability to learn what I need to. Do you have suggestions for how we can make the endpoints pluggable so I can just write a plugin for adding an additional storage endpoint?

I have tested and validated the ability to use OpenStack Swift as hosting provider for Hugo sites. I was about to build functionality similar to yours when I found this project and thought it may just make sense for me to contribute Swift here instead of building my own tool from scratch...

surface errors to the user

I was excited to get working with exception handling in Swift 2 so the code throws and catches errors but it doesn't ever surface them to the user. It should do that.

pod install fails

$ pod install
Updating local specs repositories
Analyzing dependencies
Pre-downloading: AWSCore from [email protected]:nickoneill/aws-sdk-osx.git, commit 52576e4

[!] Error installing AWSCore
[!] /usr/bin/git clone [email protected]:nickoneill/aws-sdk-osx.git /var/folders/9g/tzy_m7l93jl2vwd1v6s3mgj15zbzs_/T/d20151119-34569-1yyegxe

Cloning into '/var/folders/9g/tzy_m7l93jl2vwd1v6s3mgj15zbzs_/T/d20151119-34569-1yyegxe'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Current Yosemite, XCode 7.

Thanks,

Paul

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.