5 ms·
I just want a windows or mac or linux binary, compiled, that runs in the background, and converts text files with markdown in them into full html pages, cms / b
by aj700 15y ago
I just want a windows or mac or linux binary, compiled, that runs in the background, and converts text files with markdown in them into full html pages, cms / blog index, archives etc. accoring to a template file, and sticks them in a subdirectory. I can then have them auto uploaded with dropbox. is there such a thing. I want a page generator, but not something that needs db or scripting modules attached to an http server.
- leif 15y agoI think jekyll or nanoc had a "run in background and watch this dir for changes" mode, you could sync its output dir with dropbox. EDIT: if they don't, you could always do it pretty easily with inotify and a bash script (inotify-tools on ubuntu I think)
- mapgrep 15y agoYou could ask Marco Arment for a copy of http://www.marco.org/secondcrack http://www.marco.org/secondcrack It sounds like it does what you want, except for the part about being a binary, and he says he intends to open source it soon anyway.
- swah 15y agoMarco Armeni has a podcast!
- steven_h 15y agoHyde does that, well the run in the background and recompile as you make changes part.
- ajays 15y agoMe too. All I need is the following: a command that will take a marked-up file, and generate a beautiful HTML out of it. It will support multiple files, and automatically link to the next/previous/etc. (using the filename as the date/time stamp). And maybe provide a sidebar with the 10 most recent blogs (or something like that). It will support embedding of media (images, youtube, etc.). And finally: a decent spam-resistant commenting system. So every time I add a new entry (or modify one), I just run "make" and the rsync with my host. I'm using WP right now, but it's a pain in the ass. And I'm constantly worried about exploits.
- JonnieCache 15y agoI would suggest using watchr to automate jekyll. Should be pretty trivial to get what you want. It's not compiled, but I don't see why that is a requirement. https://github.com/mynyml/watchr https://github.com/mynyml/watchr
- chrismsnz 15y agoThere's also a decent python application that does what you need called "blogofile".
- sharth 15y agoJekyll fits most of your requirements. You may want to look into GitHub Pages as well. http://pages.github.com/ http://pages.github.com/