perun

Discuss perun static site generator
sooheon 2017-01-26T15:58:32.000155Z

Hey guys I’ve set up a perun blog with heavy inspiration from @martinklepsch here: https://github.com/sooheon/sooheon.com What I’m having trouble understanding is the actual post writing process—it seems like the md files are named with the date and title, and this is repeated in the file header. Do you just have to do this by hand? How do you know when you will publish something when you’re just drafting? Do you go back and edit the filename? Some people have a uuid in there as well, all of this tells me this should be automated somehow, I just don’t see it. Essentially I’m asking what your post drafting/publishing process looks like. Thanks fro the help!

pesterhazy 2017-01-26T16:20:11.000157Z

@sooheon I don't follow the date-in-filename convention and instead store date-published in the entry's metadata: https://github.com/pesterhazy/presumably/blob/master/build.boot

mj_langford 2017-01-26T16:22:12.000159Z

Is there a landing page product built out of perun (or other clojure/cljs backed libs)? I thought I remember hearing of one.

sooheon 2017-01-26T16:23:57.000160Z

@pesterhazy thanks, will check out.

sooheon 2017-01-26T16:24:16.000161Z

How do you add the uuid data?

pesterhazy 2017-01-26T16:26:35.000162Z

manually (grep for uuid in the repo)

pesterhazy 2017-01-26T16:27:08.000163Z

well,

(defun insert-random-uuid ()
  (interactive)
  (insert (shell-command-to-string "python -c 'import uuid, sys; sys.stdout.write(str(uuid.uuid4()))'")))

pesterhazy 2017-01-26T16:27:13.000164Z

that's elisp 🙂

mj_langford 2017-01-26T16:30:49.000165Z

If you all were going to use a email vendor to mail yourself off a confetti site, anyone have recommendations?

mj_langford 2017-01-26T16:31:09.000166Z

I've never tried low scale email vendors, only purchases for giant corps who are cost insesitive

2017-01-26T16:38:36.000167Z

AWS Lambda + AWS SES perhaps?

2017-01-26T16:39:08.000168Z

ie a little node thing that sends an email, rate limit it with api gateway (i think this is possibleish)

mj_langford 2017-01-26T16:45:12.000170Z

that's a reasonable approach. I guess I could just toss it into a ddb and notify myself as well.

martinklepsch 2017-01-26T17:01:25.000172Z

@mj_langford I remember seeing a pretty cool looking service for exactly that but not sure I can dig it up now

martinklepsch 2017-01-26T17:02:08.000173Z

… and I think I found it: https://formkeep.com/. it’s 60$/mo though which is quite a bit depending on what this is for I guess

martinklepsch 2017-01-26T17:02:40.000175Z

There’s a bunch more on this list: https://github.com/aharris88/awesome-static-website-services

martinklepsch 2017-01-26T17:04:09.000177Z

Among the free ones this one looks good as well: https://formspree.io/

mj_langford 2017-01-26T17:06:25.000178Z

I was using a landing page generator, but you're into the thousands per year for some of them for fairly simple sites that are just SSLed for SEO reasons more than anything else

pesterhazy 2017-01-26T17:13:28.000179Z

@martinklepsch that list is pretty cool

pesterhazy 2017-01-26T17:22:26.000180Z

especially https://sheetsu.com looks cool