Project of Interest => Jekyll + Dynamic processing integration + Git(hubs)Pages => pharo in the middle
Hi there, This post is just to talk about one side project Iâm exploring and interested in from a long time. I think it may interest other people here. Iâd like to have powerful (static based) web site so hosting is really cheap (even free) and hassle free. Iâve my own server for years, it is cheap and simple but, of course, it needs some maintenance (linux update, nginx scripts, â¦) even if tools are the simplest Iâve found. Recently thanks to student projects ;-), I found some time to learn what I find is a wonderful solution. This solution is to use GitHub DSCM, GitHub Pages and Jekyll (a ruby static site generator that is natively integrated) all together. https://jekyllrb.com <https://jekyllrb.com/> The beauty is that you can edit the site straight on GitHub. We get the power of version system and hosting for free⦠It literally is a CMS and the cheapest and reliable that I know of (grav might be another option). Of course, there are some « dynamic » content possibilities too (otherwise GitHub Pages is enough) - blog posts are natively generated through new files according to a name convention. - there are plugins too (but you have to watch for compatibility in GitHub). Dealing with forms and comments is possible - solutions that are hosted on a third-party. Solution like Discus or formspree, ⦠(thatâs a NO GO to me) - web service integration that you can host (note that form spree is on GitHub too https://github.com/formspree/formspree <https://github.com/formspree/formspree>) This last point is where Iâd like Pharo (Zinc, Iceberg) to be integrated. Again we could imagine a web service system based on Zinc. I could manage form submissions that way and everything Iâd like but it may end up complex. Do I need a database ? Do I need to store information and therefore manage the underlying architecture. If it crash, I want only the endpoint to be not available but the whole site still working. An in between elegant solution os to use git for what itâs good at (versioning collaboratively through PR, and also reliable hosting in classic platforms). The idea is to use the PR mechanisms to submit stuff like blog comments (note that you have a free moderation system). This is actually not limited to comments but all kinds of possible interaction⦠This way is (to me) better in terms of infrastructure management. Such a service also needs to be available (and maintained) but this is a very minimalist machinery (hanling POST request service only - no real content management as deferred to github). And again, a fail safe version (for the last version of the generated pages). Staticman (https://staticman.net <https://staticman.net/>) is a nice node application that allows to do this. Itâs possible to host the service too. I can use this node app of course, but I believe we could have quite easily such an application in Pharo with Zinc. I also wonder if we could use Iceberg to deal with this information straight in a pharo image (thatâd be cherry on the cake). The super cherry of the cake would be pharo core and lib documentation, demos (you can have one gihub page by organization and/or users - in paid plans, you can have more for private stuff)⦠One place, one process to contribute, either for code or documentation. Anyway, I have no real question except than asking for feedback and also to know if some people are interested in such project. Cheers, Cédrick nb: my hidden goal is to provide web site for people, unipersonal and small organizations. So you know, they pay for the service of creation, but then they own it and can do whatever they like. Of course we can also offer paid services like managing dynamic information content. More than comments, Iâd like to be able to deal with stuff like orders, facturation, even meeting planning through ics versioned files, etc. This really is something Iâd like to be able to provide soon (less than 1 yr time - simplest web site with contact form and comments at least). It might become something more serious the future...
Hi Cédrick, You know <https://www.netlify.com> where you can quickly connect to a GitHub project and serve it with a global CDN easily in seconds as in <https://www.youtube.com/watch?v=mN9oI98As_4> As the site runs HTTPS you can even host quickly a HTML/CSS/JS based PWA application. I tried with React and it works nicely. So when you push a change to GitHub it easily goes live ... using two branches you can distinquish between prod vs. dev.  No direct need for ruby or explicit site generator - but if you need you can also use Pharo and try "Mustache" or "Templ" and similar to generate the page. If you want Pharo for a backend or in the middle then either continue running your linux machine or put Pharo into docker and run it on Azure, AWS or any other cloud based service out there. This way you can raise more instances when traffic raises and you can scale. Decoupling the services is easy with REST/GraphQL and Pharo has projects to support that (Stargate, Teapot/Tealight, GraphQL, ...). You can even go serverless with Pharo Lambda Ultimate. Many, many possibilities these days... Have fun T.   Gesendet: Samstag, 23. Mai 2020 um 15:13 Uhr Von: "Cédrick Béler" <cdrick65@gmail.com> An: "Pharo Development List" <pharo-dev@lists.pharo.org>, "Any question about pharo is welcome" <pharo-users@lists.pharo.org> Betreff: [Pharo-users] Project of Interest => Jekyll + Dynamic processing integration + Git(hubs)Pages => pharo in the middle Hi there,  This post is just to talk about one side project Iâm exploring and interested in from a long time. I think it may interest other people here.  Iâd like to have powerful (static based) web site so hosting is really cheap (even free) and hassle free. Iâve my own server for years, it is cheap and simple but, of course, it needs some maintenance (linux update, nginx scripts, â¦) even if tools are the simplest Iâve found.  Recently thanks to student projects ;-), I found some time to learn what I find is a wonderful solution. This solution is to use GitHub DSCM, GitHub Pages and Jekyll (a ruby static site generator that is natively integrated) all together. https://jekyllrb.com[https://jekyllrb.com]  The beauty is that you can edit the site straight on GitHub. We get the power of version system and hosting for freeâ¦Â It literally is a CMS and the cheapest and reliable that I know of (grav might be another option).  Of course, there are some « dynamic » content possibilities too (otherwise GitHub Pages is enough) - blog posts are natively generated through new files according to a name convention. - there are plugins too (but you have to watch for compatibility in GitHub).  Dealing with forms and comments is possible - solutions that are hosted on a third-party. Solution like Discus or formspree, ⦠(thatâs a NO GO to me) - web service integration that you can host (note that form spree is on GitHub too https://github.com/formspree/formspree[https://github.com/formspree/formspree])  This last point is where Iâd like Pharo (Zinc, Iceberg) to be integrated. Again we could imagine a web service system based on Zinc. I could manage form submissions that way and everything Iâd like but it may end up complex. Do I need a database ? Do I need to store information and therefore manage the underlying architecture. If it crash, I want only the endpoint to be not available but the whole site still working.  An in between elegant solution os to use git for what itâs good at (versioning collaboratively through PR, and also reliable hosting in classic platforms).  The idea is to use the PR mechanisms to submit stuff like blog comments (note that you have a free moderation system). This is actually not limited to comments but all kinds of possible interaction⦠ This way is (to me) better in terms of infrastructure management. Such a service also needs to be available (and maintained) but this is a very minimalist machinery (hanling POST request service only - no real content management as deferred to github). And again, a fail safe version (for the last version of the generated pages).  Staticman (https://staticman.net[https://staticman.net]) is a nice node application that allows to do this. Itâs possible to host the service too.  I can use this node app of course, but I believe we could have quite easily such an application in Pharo with Zinc. I also wonder if we could use Iceberg to deal with this information straight in a pharo image (thatâd be cherry on the cake). The super cherry of the cake would be pharo core and lib documentation, demos (you can have one gihub page by organization and/or users - in paid plans, you can have more for private stuff)⦠One place, one process to contribute, either for code or documentation.  Anyway, I have no real question except than asking for feedback and also to know if some people are interested in such project.  Cheers,  Cédrick  nb: my hidden goal is to provide web site for people, unipersonal and small organizations. So you know, they pay for the service of creation, but then they own it and can do whatever they like. Of course we can also offer paid services like managing dynamic information content. More than comments, Iâd like to be able to deal with stuff like orders, facturation, even meeting planning through ics versioned files, etc. This really is something Iâd like to be able to provide soon (less than 1 yr time - simplest web site with contact form and comments at least). It might become something more serious the future...  Â
Hi Torsten,
Hi Cédrick,
You know <https://www.netlify.com> where you can quickly connect to a GitHub project and serve it with a global CDN easily in seconds as in <https://www.youtube.com/watch?v=mN9oI98As_4>
I actually just discovered after sending the email, as Hugo for as a generator too. https://jamstatic.fr/2017/06/07/migration-de-jekyll-a-hugo/ <https://jamstatic.fr/2017/06/07/migration-de-jekyll-a-hugo/> Looks interesting. Iâll try.
As the site runs HTTPS you can even host quickly a HTML/CSS/JS based PWA application. I tried with React and it works nicely. So when you push a change to GitHub it easily goes live ... using two branches you can distinquish between prod vs. dev.
No direct need for ruby or explicit site generator - but if you need you can also use Pharo and try "Mustache" or "Templ" and similar to generate the page.
Yes I think itâs doable too and would be great. I donât want to really install Jekyll, more rely on the GitHub integration. So it builds too after a change (the delay might be a problem though for some - thatâs why people prefer hogo + netlify). The idea is to help people build their web site and quickly be able to change without asking me to do it. This is for now mostly for friends and some projects we have to make a web site on (and Iâm often the guy whose asked for doing a simple siteâ¦).
If you want Pharo for a backend or in the middle then either continue running your linux machine or put Pharo into docker and run it on Azure, AWS or any other cloud based service out there. This way you can raise more instances when traffic raises and you can scale. Decoupling the services is easy with REST/GraphQL and Pharo has projects to support that (Stargate, Teapot/Tealight, GraphQL, ...).
You can even go serverless with Pharo Lambda Ultimate.
Many, many possibilities these days...
Oh yes :). But as I want to keep it really simple, Iâll go for some kind of static site generation. I want people to have a simple vitrine of their activity, with a contact form and a certain feed of article. Iâll explore a bit more this tools so lets discuss it too.
Have fun T.
You too ;-) Cédrick
Gesendet: Samstag, 23. Mai 2020 um 15:13 Uhr Von: "Cédrick Béler" <cdrick65@gmail.com> An: "Pharo Development List" <pharo-dev@lists.pharo.org>, "Any question about pharo is welcome" <pharo-users@lists.pharo.org> Betreff: [Pharo-users] Project of Interest => Jekyll + Dynamic processing integration + Git(hubs)Pages => pharo in the middle
Hi there,
This post is just to talk about one side project Iâm exploring and interested in from a long time. I think it may interest other people here.
Iâd like to have powerful (static based) web site so hosting is really cheap (even free) and hassle free. Iâve my own server for years, it is cheap and simple but, of course, it needs some maintenance (linux update, nginx scripts, â¦) even if tools are the simplest Iâve found.
Recently thanks to student projects ;-), I found some time to learn what I find is a wonderful solution. This solution is to use GitHub DSCM, GitHub Pages and Jekyll (a ruby static site generator that is natively integrated) all together. https://jekyllrb.com[https://jekyllrb.com]
The beauty is that you can edit the site straight on GitHub. We get the power of version system and hosting for free⦠It literally is a CMS and the cheapest and reliable that I know of (grav might be another option).
Of course, there are some « dynamic » content possibilities too (otherwise GitHub Pages is enough) - blog posts are natively generated through new files according to a name convention. - there are plugins too (but you have to watch for compatibility in GitHub).
Dealing with forms and comments is possible - solutions that are hosted on a third-party. Solution like Discus or formspree, ⦠(thatâs a NO GO to me) - web service integration that you can host (note that form spree is on GitHub too https://github.com/formspree/formspree[https://github.com/formspree/formspree])
This last point is where Iâd like Pharo (Zinc, Iceberg) to be integrated. Again we could imagine a web service system based on Zinc. I could manage form submissions that way and everything Iâd like but it may end up complex. Do I need a database ? Do I need to store information and therefore manage the underlying architecture. If it crash, I want only the endpoint to be not available but the whole site still working.
An in between elegant solution os to use git for what itâs good at (versioning collaboratively through PR, and also reliable hosting in classic platforms).
The idea is to use the PR mechanisms to submit stuff like blog comments (note that you have a free moderation system). This is actually not limited to comments but all kinds of possible interactionâ¦
This way is (to me) better in terms of infrastructure management. Such a service also needs to be available (and maintained) but this is a very minimalist machinery (hanling POST request service only - no real content management as deferred to github). And again, a fail safe version (for the last version of the generated pages).
Staticman (https://staticman.net[https://staticman.net]) is a nice node application that allows to do this. Itâs possible to host the service too.
I can use this node app of course, but I believe we could have quite easily such an application in Pharo with Zinc. I also wonder if we could use Iceberg to deal with this information straight in a pharo image (thatâd be cherry on the cake). The super cherry of the cake would be pharo core and lib documentation, demos (you can have one gihub page by organization and/or users - in paid plans, you can have more for private stuff)⦠One place, one process to contribute, either for code or documentation.
Anyway, I have no real question except than asking for feedback and also to know if some people are interested in such project.
Cheers,
Cédrick
nb: my hidden goal is to provide web site for people, unipersonal and small organizations. So you know, they pay for the service of creation, but then they own it and can do whatever they like. Of course we can also offer paid services like managing dynamic information content. More than comments, Iâd like to be able to deal with stuff like orders, facturation, even meeting planning through ics versioned files, etc. This really is something Iâd like to be able to provide soon (less than 1 yr time - simplest web site with contact form and comments at least). It might become something more serious the future...
Hi Cédrik, This comes really on time for me, I decided to rewrite to small sites I have using Jekyll, and as read all their tutorials I thought even of having a Jekyllst variation, that uses the Jekyll directories and other conventions, but uses Smalltalk as its engine. Of course this is far reached given my real availability these days, that's lower than usual. However I'd like to be part of conversations around this, and eventually contribute to it, because I already started playing with Jekyll (and Gatsby as well). Regards, Esteban A. Maringolo On Sat, May 23, 2020 at 10:15 AM Cédrick Béler <cdrick65@gmail.com> wrote:
Hi there,
This post is just to talk about one side project Iâm exploring and interested in from a long time. I think it may interest other people here.
Iâd like to have powerful (static based) web site so hosting is really cheap (even free) and hassle free. Iâve my own server for years, it is cheap and simple but, of course, it needs some maintenance (linux update, nginx scripts, â¦) even if tools are the simplest Iâve found.
Recently thanks to student projects ;-), I found some time to learn what I find is a wonderful solution. This solution is to use GitHub DSCM, GitHub Pages and Jekyll (a ruby static site generator that is natively integrated) all together. https://jekyllrb.com
The beauty is that you can edit the site straight on GitHub. We get the power of version system and hosting for free⦠It literally is a CMS and the cheapest and reliable that I know of (grav might be another option).
Of course, there are some « dynamic » content possibilities too (otherwise GitHub Pages is enough) - blog posts are natively generated through new files according to a name convention. - there are plugins too (but you have to watch for compatibility in GitHub).
Dealing with forms and comments is possible - solutions that are hosted on a third-party. Solution like Discus or formspree, ⦠(thatâs a NO GO to me) - web service integration that you can host (note that form spree is on GitHub too https://github.com/formspree/formspree)
This last point is where Iâd like Pharo (Zinc, Iceberg) to be integrated. Again we could imagine a web service system based on Zinc. I could manage form submissions that way and everything Iâd like but it may end up complex. Do I need a database ? Do I need to store information and therefore manage the underlying architecture. If it crash, I want only the endpoint to be not available but the whole site still working.
An in between elegant solution os to use git for what itâs good at (versioning collaboratively through PR, and also reliable hosting in classic platforms).
The idea is to use the PR mechanisms to submit stuff like blog comments (note that you have a free moderation system). This is actually not limited to comments but all kinds of possible interactionâ¦
This way is (to me) better in terms of infrastructure management. Such a service also needs to be available (and maintained) but this is a very minimalist machinery (hanling POST request service only - no real content management as deferred to github). And again, a fail safe version (for the last version of the generated pages).
Staticman (https://staticman.net) is a nice node application that allows to do this. Itâs possible to host the service too.
I can use this node app of course, but I believe we could have quite easily such an application in Pharo with Zinc. I also wonder if we could use Iceberg to deal with this information straight in a pharo image (thatâd be cherry on the cake). The super cherry of the cake would be pharo core and lib documentation, demos (you can have one gihub page by organization and/or users - in paid plans, you can have more for private stuff)⦠One place, one process to contribute, either for code or documentation.
Anyway, I have no real question except than asking for feedback and also to know if some people are interested in such project.
Cheers,
Cédrick
nb: my hidden goal is to provide web site for people, unipersonal and small organizations. So you know, they pay for the service of creation, but then they own it and can do whatever they like. Of course we can also offer paid services like managing dynamic information content. More than comments, Iâd like to be able to deal with stuff like orders, facturation, even meeting planning through ics versioned files, etc. This really is something Iâd like to be able to provide soon (less than 1 yr time - simplest web site with contact form and comments at least). It might become something more serious the future...
Hi Esteban,
This comes really on time for me, I decided to rewrite to small sites I have using Jekyll, and as read all their tutorials I thought even of having a Jekyllst variation, that uses the Jekyll directories and other conventions, but uses Smalltalk as its engine. Of course this is far reached given my real availability these days, that's lower than usual.
Cool anyway if thatâs something that interest you too. What do you think of https://gohugo.io <https://gohugo.io/> ? Themes are pretty cool https://themes.gohugo.io <https://themes.gohugo.io/>
However I'd like to be part of conversations around this, and eventually contribute to it, because I already started playing with Jekyll (and Gatsby as well).
Perfect :) This is not urgent but I need to put 2 websites online for September (simple ones). For now, Iâm trying around. Summer will be perfect for me to work on such project. Cheers, Cédrick
Regards,
Esteban A. Maringolo
On Sat, May 23, 2020 at 10:15 AM Cédrick Béler <cdrick65@gmail.com <mailto:cdrick65@gmail.com>> wrote: Hi there,
This post is just to talk about one side project Iâm exploring and interested in from a long time. I think it may interest other people here.
Iâd like to have powerful (static based) web site so hosting is really cheap (even free) and hassle free. Iâve my own server for years, it is cheap and simple but, of course, it needs some maintenance (linux update, nginx scripts, â¦) even if tools are the simplest Iâve found.
Recently thanks to student projects ;-), I found some time to learn what I find is a wonderful solution. This solution is to use GitHub DSCM, GitHub Pages and Jekyll (a ruby static site generator that is natively integrated) all together. https://jekyllrb.com <https://jekyllrb.com/>
The beauty is that you can edit the site straight on GitHub. We get the power of version system and hosting for free⦠It literally is a CMS and the cheapest and reliable that I know of (grav might be another option).
Of course, there are some « dynamic » content possibilities too (otherwise GitHub Pages is enough) - blog posts are natively generated through new files according to a name convention. - there are plugins too (but you have to watch for compatibility in GitHub).
Dealing with forms and comments is possible - solutions that are hosted on a third-party. Solution like Discus or formspree, ⦠(thatâs a NO GO to me) - web service integration that you can host (note that form spree is on GitHub too https://github.com/formspree/formspree <https://github.com/formspree/formspree>)
This last point is where Iâd like Pharo (Zinc, Iceberg) to be integrated. Again we could imagine a web service system based on Zinc. I could manage form submissions that way and everything Iâd like but it may end up complex. Do I need a database ? Do I need to store information and therefore manage the underlying architecture. If it crash, I want only the endpoint to be not available but the whole site still working.
An in between elegant solution os to use git for what itâs good at (versioning collaboratively through PR, and also reliable hosting in classic platforms).
The idea is to use the PR mechanisms to submit stuff like blog comments (note that you have a free moderation system). This is actually not limited to comments but all kinds of possible interactionâ¦
This way is (to me) better in terms of infrastructure management. Such a service also needs to be available (and maintained) but this is a very minimalist machinery (hanling POST request service only - no real content management as deferred to github). And again, a fail safe version (for the last version of the generated pages).
Staticman (https://staticman.net <https://staticman.net/>) is a nice node application that allows to do this. Itâs possible to host the service too. <GraphiqueCollé-1.png>
I can use this node app of course, but I believe we could have quite easily such an application in Pharo with Zinc. I also wonder if we could use Iceberg to deal with this information straight in a pharo image (thatâd be cherry on the cake). The super cherry of the cake would be pharo core and lib documentation, demos (you can have one gihub page by organization and/or users - in paid plans, you can have more for private stuff)⦠One place, one process to contribute, either for code or documentation.
Anyway, I have no real question except than asking for feedback and also to know if some people are interested in such project.
Cheers,
Cédrick
nb: my hidden goal is to provide web site for people, unipersonal and small organizations. So you know, they pay for the service of creation, but then they own it and can do whatever they like. Of course we can also offer paid services like managing dynamic information content. More than comments, Iâd like to be able to deal with stuff like orders, facturation, even meeting planning through ics versioned files, etc. This really is something Iâd like to be able to provide soon (less than 1 yr time - simplest web site with contact form and comments at least). It might become something more serious the future...
On Sat, May 23, 2020 at 5:41 PM Cédrick Béler <cdrick65@gmail.com> wrote:
Hi Esteban,
This comes really on time for me, I decided to rewrite to small sites I have using Jekyll, and as read all their tutorials I thought even of having a Jekyllst variation, that uses the Jekyll directories and other conventions, but uses Smalltalk as its engine. Of course this is far reached given my real availability these days, that's lower than usual.
Cool anyway if thatâs something that interest you too. What do you think of https://gohugo.io ? Themes are pretty cool https://themes.gohugo.io
I wasn't aware of this, looks great, albeit on a different tool stack. The generated output is "sane" html (read below).
However I'd like to be part of conversations around this, and eventually contribute to it, because I already started playing with Jekyll (and Gatsby as well). Perfect :) This is not urgent but I need to put 2 websites online for September (simple ones). For now, Iâm trying around. Summer will be perfect for me to work on such project.
I have a small pet site, that has some particular features like being multilingual and having some "dynamic" data source. I decided to give a try to Gatsby this evening, and found it to be great and produce uber fast rendered pages, but the produced HTML/CSS/JS is worst than reading assembly language. However since what I wanted was to improve the speed and some limitations of an old Wordpress based site, I think I'll stick with it. It also refreshes my React.js shenanigans. Regards! Esteban A. Maringolo
participants (3)
-
Cédrick Béler -
Esteban Maringolo -
Torsten Bergmann