News for hackers. Stuff that matters.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by mattkevan on Monday January 02, 2017 @07:08AM (#13300691)
Jekyll or Hugo, hosted for free on Netlify and using Forestry.io or Cloudcannon as the CMS.

Jekyll is great for blogs and simple brochure sites, go Hugo (heh) if you need something more complex. Hugo is much faster than Jekyll when running builds on larger sites.

I'd recommend Snipcart for e-commerce. Recently built a shop with it, using Jekyll as the framework. I've made a number of online stores with a variety of platforms and this was the easiest - took about 15 mins. Cheaper than Shopify too.

Edit: Here's a guide from Snipcart on how to do it - https://snipcart.com/blog/static-site-e-commerce-part-2-inte...

(I have nothing to do with Snipcart, just like the service)

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by stavros on Monday January 02, 2017 @07:36AM (#13300800)
I'd like to second Hugo. Static sites with Netlify are a joy, since they can handle however much traffic you want, there are no scaling headaches or updates or stuff for bots to randomly hack.

I'm currently trying to decide between Lektor and Hugo, Lektor's data model seems more powerful, Hugo seems harder to learn (worse-quality docs) but Lektor doesn't seem very actively maintained, and Hugo has a larger community around it.

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by sgallant on Monday January 02, 2017 @01:25PM (#13303160)
Co-founder of https://forestry.io here.

As an interesting speed comparison, one of our users has a site with 2,000 blog posts that takes Jekyll 10 mins to build. We migrated it to Hugo and the build time went down to 900 ms.

We're big fans of Jekyll, but Hugo certainly beats it when it comes to speed.

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by schappim on Monday January 02, 2017 @04:50PM (#13304848)
That's awesome. I'll have to check this out. I wonder what type of speed improvements one could get rewriting this with crystal-lang (https://crystal-lang.org).
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by therealmarv on Monday January 02, 2017 @08:19AM (#13300981)
I'm also trying to decide between Hugo and Lektor (Note: I'm having some flask experience). At first view Hugo seemed superior but I looked at some important specifics for me like e.g. thumbnail generation, Plugin System (important for developers) or CMS like editing. All this stuff is not available in Hugo core but it's already built into Lektor. It seems the biggest weakness of Hugo is that it is statically built and not easy to extend (only easier to deploy). If you build your own Makefile/gulp etc. around it it may also work for you but Lektor is more flexible when looking at this. From a developers perspective Lektor seems more customizable... unless you are a die hard Go developer. I think Lektor community can outgrow Hugo's one because of the plugin system. Building a toolset around a binary to extend a page generator does not seem the right way @hugo team. But at the end it all depends on your requirements. Hugo is much much easier to deploy and many people do not want to extend their page generator.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by StavrosK on Monday January 02, 2017 @08:26AM (#13301009)
I agree, but someone on the Hugo forums pointed me to this issue:

https://github.com/lektor/lektor/issues/180

The fact that it's such an egregious issue (85 minutes for 2000 posts?!) that has been open for 9 months doesn't give me much hope in the development speed of Lektor. This also matches my experience, as I see trivial issues and PRs open for months in Lektor's repo...

The Lektor dev (it wasn't Armin) told me on Gitter that development has stalled a bit, but will hopefully pick up in 2017. I certainly hope so, becaue it's a well-designed site generator.

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by therealmarv on Monday January 02, 2017 @09:03AM (#13301173)
maybe when community and development speed and extensibility are the main requirements it all leads back to Jekyll :/ if I would be a ruby guy it would be definitely my first choice. Hugo is the speedy gonzales with easy deployment but lacks good extensibility when you want to go into the code level :(
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by StavrosK on Monday January 02, 2017 @09:08AM (#13301189)
I think you're right... Bah, just when I was convinced by Hugo, you convinced me to use Lektor again :P
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by therealmarv on Monday January 02, 2017 @10:51AM (#13301767)
sorry :D it really depends on your requirements. If Hugo in its current state covers you or if you can live with a light toolchain around Hugo go Hugo (I think many people do not need to touch the go code). There is nobody saying that you cannot write a little python code which is run before/after hugo (actually some people are doing that!). But if you want total control/extensibility with your python code in the page generator the Lektor plugin system will give you more power.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by StavrosK on Monday January 02, 2017 @12:49PM (#13302823)
I decided to go with Lektor in the end, since it's much easier to work with and good enough for my purposes for now. Plus, since I'm a Python dev, I can extend it much more easily.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by bjornerik on Monday January 02, 2017 @06:22PM (#13305342)
I am bep, the lead maintainer of Hugo. A plugin system will happen in Hugo, and I don't think it will take too long to get there -- we have been thinking about it for some time, and it feels natural to have that before we call it 1.0. CMS like editing is something that could live well outside of Hugo, me thinks.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by therealmarv on Tuesday January 03, 2017 @01:54AM (#13307257)
Thanks bep. I'm really looking forward to that. With a plugin system the Hugo community will also grow IMHO. Looking forward to it. I agree that CMS like editing should not necessarily be inside of Hugo.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by mattkevan on Monday January 02, 2017 @06:29PM (#13305379)
Oh that's exciting. Will be a great addition to a really good system.

Looking forward to it!

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by mattkevan on Monday January 02, 2017 @08:30AM (#13301029)
Yeah, the lack of thumbnail generation is an issue. It's definitely something which should be built in.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by bjornerik on Monday January 02, 2017 @06:23PM (#13305345)
Agree.

bep (Hugo maintainer)

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by schappim on Monday January 02, 2017 @07:40AM (#13300826)
I looked into snipcart however the admin was slow, and the pricing was much more expensive then Shopify when at scale (revenues in the millions).

Over the holidays I spent the time to write a Sinatra based replacement for the Shopify Checkout. There is a big opportunity for someone to do with ecommerce what Discorse did for forum software.

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by sireat on Monday January 02, 2017 @01:39PM (#13303280)
Wouldn't revenues in the millions justify in not having Shopify but some custom integration with whatever payment processor you are using?
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by schappim on Monday January 02, 2017 @04:31PM (#13304724)
Yup, it's absolutely getting to that point, but not for $$$ reasons. Shopify Plus, their enterprise plan is fixed price. This is why I spent much of the holidays writing our own custom cart.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by maxlaboisson on Tuesday January 03, 2017 @04:31AM (#13307997)
When was the last time you tried Snipcart? We (Snipcart team) noticed a few hiccups with dashboard perf and made some improvements a short while back. If you give it another go for another project, don’t hesitate to let tell us if you think it’s still lacking. Also, we do monthly fixed fees for merchants with >20K/monthly sales.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by cyri on Tuesday January 03, 2017 @01:43PM (#13311739)
Working on that since 2015 ... written in Go. Lots of work to do.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by thirdsun on Monday January 02, 2017 @07:33AM (#13300790)
Slightly offtopic: I'm very interested in trying Snipcart, again. Back when we had to decide between Snipcart and Shopify's SDK for a static site, Snipcart's lack of product management was a dealbreaker.

Shopify's administration interface, in contrast, is fantastic. However there are some issues which Shopify doesn't intend to fix at all, like their handling of EU vat calculation or the fact that refunds aren't enough to get Shopify's transaction fee back (like it is the case for Paypal, Stripe and others) - with Shopify you have to cancel the order, which in my opinion, is a misleading order status. A refunded/exchanged order is not a canceled order.

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by maxlaboisson on Tuesday January 03, 2017 @04:36AM (#13308012)
While products and variants are still defined on-site (unless you’re using a CMS plugin), we—Snipcart—did ship out-of-the-box inventory management in the dashboard a few months ago. Keep us in the loop about that feature next time you try out the product. Feedback always goes a long way for us!
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by thirdsun on Wednesday January 04, 2017 @06:31AM (#13317338)
I know. I actually talked to you guys and you were quite helpful. Unfortunately the product management wasn't ready back then. And, frankly, inventory management alone isn't enough in our case. Our shop system is used by non-tech savvy people and they still need to be able to create products, variants, etc. in a user friendly way.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by schappim on Monday January 02, 2017 @07:52AM (#13300867)
Shopify's biggest issue is the fact that you can't edit the line items for an order, or the billing information. This is a monumental flaw, which has been round since day 1.

To get round this Shopify's sale people recommend hacks like 3rd party app that delete the original order and create a new order. This actually has a whole heap of unintended consequences. I'd say this is the biggest reason for us looking for an alternative.

The best ecommerce backend I've seen is Neto.com.au however their performance (front end site latency) is shockingly terrible.

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by agumonkey on Monday January 02, 2017 @09:21AM (#13301247)
Well, thanks to you I'm now a netlify/jekyll user.
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by maxlaboisson on Tuesday January 03, 2017 @04:31AM (#13307988)
Appreciate the recommendation, really (I’m one of the devs at Snipcart). We’re actually going to publish a piece on how static & JAMstack set ups affect clients in modern projects real soon—we have a strong dev shop/agency background so that aspect’s always been interesting to us. Would love to hear your thoughts on it so we’ll try to share on HN too; we’ll be focusing a lot on both “static” CMS & headless/API-first CMS like Prismic & Contentful. Have you tried these BTW, or do you find them overkill for small-scale projects?
Re:Ask HN: Excluding WordPress, what is your favorite for bl... by mattkevan on Tuesday January 03, 2017 @10:49AM (#13309880)
I like the idea of services like Prismic and Contentful, but yes I find them overkill for smaller projects.

For larger ones I'd be worried about being tied too closely to a company which may or may not be around in a few years - I'd probably look to open source project instead.

For example Drupal has good user and content management features, and with D8 there's more interest in 'headless' Drupal, where it becomes an API backend to custom front-ends.

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by mattkevan on Monday January 02, 2017 @07:43AM (#13300835)
Another note is that there are very few good (or cheap) solutions for selling digital downloads in Europe due to the VAT regs. Gumroad is the main one, followed by Etsy - though it's a very different beast.

Any other suggestions would be welcome...

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by Silhouette on Monday January 02, 2017 @10:47AM (#13301750)
Sadly, two years on now, EU VAT is still utterly crazy. It's like they don't even realise how much of a burden that system is for small businesses selling online. :-(

The businesses I have that have to deal with it all use some sort of custom integration, because we never found any service that could do what we needed and didn't involve some unacceptable level of risk (like our entire business becoming unable to operate if the service went under suddenly, for example).

Even with a lot of automation and a system designed for exactly what we do, complying with the EU VAT rules still takes an absurd proportion of the time we spend on administrative overheads.

Re:Ask HN: Excluding WordPress, what is your favorite for bl... by g4k on Monday January 02, 2017 @11:25AM (#13302025)
Selz has good support for European tax regulations. Besides that the admin interface is pretty good.

Another good solution is the Shopify Buy Button combined with SendOwl for digital goods delivery.