Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up a static blog #33

Open
VincentTam opened this issue Jan 24, 2019 · 9 comments
Open

Setting up a static blog #33

VincentTam opened this issue Jan 24, 2019 · 9 comments
Labels
not-shitpost https://cirosantilli.com/china-dictatorship#shitpost

Comments

@VincentTam
Copy link
Contributor

Hi Ciro,

Thanks for your effort in raising our awareness about PRC's status !!!

Given that your posts are written in Markdown, have you ever considered making this a static web site? In general, you can simply place everything under the content folder and deploy to GitHub/GitLab Pages.

For instance, GitHub has built-in Jekyll support so that users can build a Jekyll web site in minutes.

@cirosantilli
Copy link
Owner

cirosantilli commented Jan 24, 2019

Hi Vincent,

What's the advantage of a static website? It's more moving parts / further from stars / issues ;-)

I have a Jekyll on my home page currently: http://www.cirosantilli.com/

But I saw the light and am moving to HUGE SINGLE PAGE ASCIIDOC, that is the ultimate method, FAQ is already in asciidoc: https://github.com/cirosantilli/china-dictatorship/blob/ffa455d0e0c3b5f27ba6c133e417ded8a92ec247/FAQ.adoc and see this beautiful larger ASCIIDOC example: https://github.com/cirosantilli/linux-kernel-module-cheat

@VincentTam
Copy link
Contributor Author

Currently, this project's content is hosted on a dynamic site. A static site is more reliable than a dynamic one, especially when the traffic is large, since static web servers concentrate on content delivery.

The Markdown source code for posts remains hosted on remote Git repo, so interested readers can find the repo Git repo and star it.

In terms of issues, it can be focused on technical problems of the site. In the model of static sites, comments/questions about the site's contents can be handled by Staticman.

You may also post a large single page doc and get it rendered by any static site generator.

@cirosantilli
Copy link
Owner

I think github's speed and uptime is enough, if you find concrete evidence that it is not for someone e.g. in china vs a static site, send it my way.

Also I wonder if it wouldn't be easier for china to block cirosantilli.github.io vs github.com/

@VincentTam
Copy link
Contributor Author

Also I wonder if it wouldn't be easier for china to block cirosantilli.github.io vs github.com/

It would be likely to block the two together. The former can't persist without the later. However, as long as you've got the Git repo, you get deploy it to other web hosts.

@VincentTam
Copy link
Contributor Author

Update: rare failure of GitHub when I was about to open an issue.

Screenshot from 2019-08-13 09-03-21

@cirosantilli
Copy link
Owner

Yes, I saw something a few minutes ago too. But GitHub status doesn't say anything. Weird.

@VincentTam
Copy link
Contributor Author

This reminds me a classical Chinese idiom "a crafty rabbit has three burrows" (狡兔三窟): https://en.wikipedia.org/wiki/Lord_Mengchang#A_crafty_hare_has_three_burrows.

@cirosantilli
Copy link
Owner

Oh, and they changed IP addresses, git pull gave:

Warning: Permanently added the RSA host key for IP address '140.82.114.3' to the list of known hosts.

@VincentTam
Copy link
Contributor Author

VincentTam commented Aug 13, 2019

The changing of GitHub's IP address is another example of this four-word proverb, even that's not what I intended to mean when I left my last comment—I was thinking about having other (free as in freedom) Git service providers, like GitLab.

This was referenced Feb 3, 2021
@cirosantilli cirosantilli added the not-shitpost https://cirosantilli.com/china-dictatorship#shitpost label Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-shitpost https://cirosantilli.com/china-dictatorship#shitpost
Projects
None yet
Development

No branches or pull requests

2 participants