Jekyll port of namecoin.org
-
- Posts: 2001
- Joined: Tue Jun 05, 2012 6:25 am
- os: linux
Jekyll port of namecoin.org
Hey everyone,
As was discussed at a recent #namecoin-dev meeting, I've ported the home page of namecoin.org to Jekyll. This eliminates the dependency on PHP (it's a static website), and makes it much easier to edit (people can submit edits as PR's using the GitHub web-based Markdown editor).
I also did some minor wording changes (which can be debated orthogonally to the switch to Jekyll).
Code is at https://github.com/JeremyRand/namecoin.org-jekyll ; you can see a live preview at https://jeremyrand.github.io/namecoin.org-jekyll/ .
Feedback at the #namecoin-dev meeting was positive, with Cassini, Hugo, Joseph, and myself in favor of switching to Jekyll, while John Kenney was in favor of switching to Drupal.
Thoughts on this? If we get consensus that this is a good idea, I'll port the other pages to Jekyll as well (won't be much work).
As was discussed at a recent #namecoin-dev meeting, I've ported the home page of namecoin.org to Jekyll. This eliminates the dependency on PHP (it's a static website), and makes it much easier to edit (people can submit edits as PR's using the GitHub web-based Markdown editor).
I also did some minor wording changes (which can be debated orthogonally to the switch to Jekyll).
Code is at https://github.com/JeremyRand/namecoin.org-jekyll ; you can see a live preview at https://jeremyrand.github.io/namecoin.org-jekyll/ .
Feedback at the #namecoin-dev meeting was positive, with Cassini, Hugo, Joseph, and myself in favor of switching to Jekyll, while John Kenney was in favor of switching to Drupal.
Thoughts on this? If we get consensus that this is a good idea, I'll port the other pages to Jekyll as well (won't be much work).
Re: Jekyll port of namecoin.org
IMHO the web is not very important at the moment;
a way to access Namecoin core from a GUI and 2FA,
would be on top of my priority list, right after "follow bitcoin updates",
and "how to scale core and lite clients to process a lot of TX/nameops".
a way to access Namecoin core from a GUI and 2FA,
would be on top of my priority list, right after "follow bitcoin updates",
and "how to scale core and lite clients to process a lot of TX/nameops".
-
- Posts: 2001
- Joined: Tue Jun 05, 2012 6:25 am
- os: linux
Re: Jekyll port of namecoin.org
Who said this thread was all I've been working on? If you don't care about the website, that's fine, feel free to ignore this thread. We have received significant criticism of the current website; thus it is useful to address that criticism.johnc wrote:IMHO the web is not very important at the moment;
a way to access Namecoin core from a GUI and 2FA,
would be on top of my priority list, right after "follow bitcoin updates",
and "how to scale core and lite clients to process a lot of TX/nameops".
Re: Jekyll port of namecoin.org
Looks very good!
Your rearrangement/rephrasing of the text is also an improvement, I think.
I'd change the order of the items list inside the left column, though (move TLS validation further down). Maybe I should try a PR ...
Your rearrangement/rephrasing of the text is also an improvement, I think.
I'd change the order of the items list inside the left column, though (move TLS validation further down). Maybe I should try a PR ...
-
- Posts: 801
- Joined: Sun Aug 18, 2013 8:26 pm
- os: mac
-
- Posts: 801
- Joined: Sun Aug 18, 2013 8:26 pm
- os: mac
Re: Jekyll port of namecoin.org
I think the Jekyll port is very important because it fits with the Github workflow and it makes it easier to contribute new content.
DNS is much more than a key->value datastore.
-
- Posts: 2001
- Joined: Tue Jun 05, 2012 6:25 am
- os: linux
Re: Jekyll port of namecoin.org
Feel free to send a PR.cassini wrote:Looks very good!
Your rearrangement/rephrasing of the text is also an improvement, I think.
I'd change the order of the items list inside the left column, though (move TLS validation further down). Maybe I should try a PR ...
Can we get feedback from Phelix or Daniel?
Re: Jekyll port of namecoin.org
With php it is quite inconvenient for people to get a preview, which is bad. I guess this is easier with Jekyll?
Jekyll seems to be open source and does not make us depend on a remote server?
IMHO we should separate the infrastructure move from changes to the content.
Jekyll seems to be open source and does not make us depend on a remote server?
IMHO we should separate the infrastructure move from changes to the content.
-
- Posts: 2001
- Joined: Tue Jun 05, 2012 6:25 am
- os: linux
Re: Jekyll port of namecoin.org
With Jekyll, there are 3 ways to preview:phelix wrote:With php it is quite inconvenient for people to get a preview, which is bad. I guess this is easier with Jekyll?
- The content is in Markdown, so you can preview the content (without the site template) with any Markdown viewer (including the GitHub web interface as you're editing).
- Install Jekyll on your machine, and run a single command to build the static HTML, which also launches a web server on localhost that you can view (with the site template).
- Push your content to your own GitHub repo in the "gh-pages" branch, and GitHub will automatically launch a website that lets you preview it (that's how my preview link is generated).
That's correct; Jekyll is open source. We would install Jekyll on our server and set up a cronjob to pull from GitHub and run the Jekyll compiler. This is quite easy.phelix wrote:Jekyll seems to be open source and does not make us depend on a remote server?
I'm totally fine with that.phelix wrote:IMHO we should separate the infrastructure move from changes to the content.
Re: Jekyll port of namecoin.org
In terms of security, a set of static pages has some advantages, basically by "refreshing" it periodically you make it immune from browser-based graffiti whilst the git-hub has some mechanism for tracking down deliberate defacing changes. Just a minor note, Atlassan has a "free-tools" initiative for some non-profit organisations so medium-term there might be advantages in using bitbucket over github.
Dr. Lawrence Lau
http://www.linkedin.com/in/drllau
http://www.linkedin.com/in/drllau