[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Blog and OPAM-aware static website generator





On Wed, Sep 23, 2015 at 5:33 PM, Dominic Price <dominic.price@xxxxxxxxxxxxxxxx> wrote:


On 23/09/2015 10:32, Amir Chaudhry wrote:
>
>> On 23 Sep 2015, at 09:20, Gareth Rushgrove <gareth@xxxxxxxxxxxxxxxxx> wrote:
>>
>> On 22 September 2015 at 21:24, Andrew Stuart
>> <andrew.stuart@xxxxxxxxxxxxxxxxxx> wrote:
>>> The Pioneer Projects page https://github.com/mirage/mirage-www/wiki/Pioneer-Projects mentions "Blog and OPAM-aware static website generatorâ.
>>>
>>> Anyone interested in generating static websites would gain a great deal from first investigating httrack - itâs the most powerful static site generator although not many people seem to know of it. httrack can convert most websites into static HTML and then they just need to be compiled into MirageOS.
>>>
>>> https://www.httrack.com
>>>
>>
>> I'd see htttrack as more of a spiderering tool, for downloading an
>> existing site. Like wget but more specialised. It's pretty great.
>>
>> I _think_ this project refers more to generating the HTML in the first
>> place, often from something like a directory of markdown files. Most
>> languages have something similar and it's often a great
>> my-first-running-application place to start with a new language. As
>> inspiration for that sort of thing:
>>
>> https://gohugo.io/ (Go)
>> http://blog.getpelican.com/ (Python)
>> https://sculpin.io/ (PHP)
>> https://jekyllrb.com/ (Ruby)
>> http://wintersmith.io/ (_javascript_)
>
> Yes, this project is about creating a pure OCaml static-site generator, but with the added benefit of being able to extend functionality to make use of other parts of the OCaml ecosystem (i.e. OPAM).

Out of interest, is there a particular reason for wanting a pure OCaml
tool? I was thinking about a similar tool recently and as a starting
point I was going to start with something simple that could take the
output from Jekyll (for example) and wrap it up as a unikernel.

Dominic

Hi Dominic,

FYI, the mirage-seal tool will take a directory of content and wrap it up as a unikernel, with (optional) HTTPS support:




cheers,
--
Len
Â

> Some work began earlier this year and you can see the core of it at: https://github.com/dsheets/tower
> I should probably write up a post about what we were aiming for and where we got to. :)
>
> In the long term, it would be pretty cool to set up infrastructure like GitHub pages for the OCaml community, where unikernel sites for individuals/projects could be hosted (and using something like Jitsu would mean theyâre only âactiveâ when required). Thatâs a little way off though.
>
> If anyone is interested in working on the static site generator project, please do get in touch!
>
> Amir
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--
Dominic Price
Research Fellow
Horizon Digital Economy Research
Nottingham Geospatial Building
University of Nottingham Innovation Park
Triumph Road
Nottingham
NG7 2TU

Email: dominic.price@xxxxxxxxxxxxxxxx
Skype: dominic.j.price
Office: +44 (0)115 82 32554
Fax: +44 (0)115 82 32551

Web: http://www.cs.nott.ac.uk/~djp
Web: http://www.horizon.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.