owned this note
owned this note
Published
Linked with GitHub
---
tags: COSCUP, 網站, 典藏, 封存
---
COSCUP 網站數位典藏計畫
===
## TG 討論群
https://t.me/COSCUP_website_archive
## 有興趣跳坑的請先在這裡留下你的 id 和 mail 或 Telegram ID
- Denny Huang, denny0223@gmail.com, @DennyHuang
- Haraguroicha Hsu, haraguroicha@tipsy.coffee, @Haraguroicha
- 胖胖, pantc12@gmail.com, @ptc0219
- Wayne, abev66@gmail.com, @abev66
- dalun, me@dalun.tw @excfergodst
- Can, fineaisa@gmail.com, @canyu
- 全全, williamtsai1111@gmail.com, @chuanchan1116
- 蛋糕, u8961310@gmail.com, @CakeChen
- Mindos, mindos@gmail.com, @MindosCheng
> TG id 不對喔,我無法把你加入群組[name=DennyHuang]
- 刺蝟, hedgehog.working@gmail.com, @jhihruei
- tommy, ibqqz0602@gmail.com, @Nientsu
- Freedman, robertmodesty@gamil.com @freedmantw
## 緣起
COSCUP 自 2006 年發起至今已 13 年,每年的網站製作都會使用當下最適合的方式,但現在回頭看可能不是這麼便於留存,2006 至 2017 的內容目前都跑在 Linode 上的一台小主機,部份年份使用 php 勢必需要有機器跑,甚至背後可能有串 MySQL, PostgreSQL, mongoDB 等服務,在管理及維護上成本較高
目前網站資料夾概況:
```
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
HTML 677 14974 3071 249022
PHP 727 17541 57364 84380
XML 138 584 0 73912
Javascript 130 7459 12262 38520
CSS 85 2154 934 19775
Ruby 1 5 12 7
-------------------------------------------------------------------------------
SUM: 1758 42717 73643 465616
-------------------------------------------------------------------------------
```
[各年份詳細狀況參考](https://gist.github.com/denny0223/e218b867eba9a601a4c293952f4f8b2f)
## 目標
將各年份網站靜態化到可以上 GitHub Pages 呈現的程度,脫離必須使用主機來跑的需求
## 如何實做
1. 清查需要留下的專案,目前機器上含有部份已經無法跑起來的網站
2. 清查各年份使用的技術以便評估使用最適合的方式建立封存
3. 爬蟲硬爬或是直接改寫
## 清查進度
### 主機上 www 資料夾內目錄
### 被放棄
- ./2015-dev
- 當年負責人是誰啊~ 我可以放棄這份 dev 嗎
- ./cheese
- https://github.com/COSCUP/cheese
- Picasa 已經停止維護,服務也無法使用,應該可以直接放棄
- ./self-service
- https://github.com/COSCUP/self-service
- 2014 年使用服務,不需靜態化
### 進行中
- ./2006
- https://github.com/COSCUP/2006 Source
- https://coscup.github.io/2006 Web
> 來試試看
> 1. 大量連結修正 [DONE]
> 2. 小量連結修正 [TODO]
> 3. 搜尋功能回復 [TODO]
> [name=Can]
- ./2007
- https://github.com/COSCUP/2007
> 目前看起來都OK,我先認領下來,晚點繼續檢查
> 8/30:http部分應該處理完了
> TODO: 確認/更新連結[name=刺蝟]
### 已完成
- ./2011
- https://github.com/COSCUP/2011
- 據 WeiYao 說是全靜態的頁面(有過 static site generator)
![](https://i.imgur.com/uMCqLb1.png)
- ./2012
- https://github.com/COSCUP/2012
- ./2010
- https://github.com/COSCUP/2010
- ~~以下檔案超過 100MB 無法上傳到 GitHub~~
- booklet.pdf
- slides/14_0_1400_opensocial-socialtext.pdf
> 已壓縮後上傳
- ./2011-theme
- https://github.com/COSCUP/2011-theme
- ./2012-theme
- https://github.com/COSCUP/2012-theme
- ./2008-en
- https://github.com/COSCUP/2008-en
- ./2008
- https://github.com/COSCUP/2008
- ./2009
- https://github.com/COSCUP/2009
- gh-pages ready
> index.php 僅判斷語系跳轉,需改寫為使用 js 判斷 [name=Denny]
> 認領,我可以用 static page generator 重新寫過嗎xDD?
> 最後被 DaLun 搶走了QQ
> [name=腹黒い茶]
> 抱歉QQ
> [name=dalun]
- ./2014
- https://github.com/COSCUP/2014
- ./2012-landingpage
- https://github.com/COSCUP/2012-landingpage
- ./2013-landingpage
- https://github.com/COSCUP/2013-landingpage
- ./2014-landingpage
- https://github.com/COSCUP/2014-landingpage
- ./2018
- https://github.com/COSCUP/coscup2018-website
- 僅 .htaccess 倒到 https://2018.coscup.org/
- 完工後拔掉 CNAME & 改 repo name 即可
- ./2017-landingpage
- https://github.com/COSCUP/2017-landingpage
- gh-pages ready
- ./2016-landingpage
- https://github.com/COSCUP/2016-landingpage
- gh-pages ready
- ./2013
- https://github.com/COSCUP/2013
> working [name=dalun]
- ./2013-theme
- https://github.com/COSCUP/2013-theme
- Just Assets
- gh-pages ready
- ./2015
- https://github.com/COSCUP/2015
> 撿走了 [name=dalun]
- 議程頁面透過 apache hack 過,頁面其實是 http://coscup.org/2015-program/ 來的
- ./2015-landingpage
- https://github.com/COSCUP/2015-landingpage
- gh-pages ready
- 看起來有個相簿的功能,不知道為啥壞掉了
- ./2015-program
- https://github.com/COSCUP/2015-program
- ./2016
- https://github.com/COSCUP/2016
- gh-pages ready
- ./2016-assets
- https://github.com/COSCUP/2016-assets
- gh-pages ready
- ./2017
- https://github.com/COSCUP/2017
- gh-pages ready
- ./2017-assets
- https://github.com/COSCUP/2017-assets
- gh-pages ready
- ./2018-assets
- https://github.com/COSCUP/2018-assets
- gh-pages ready