舒阁 (Shuge): 自由开放的数字图书馆系统

{撰文/shuge.lee}

舒阁(shuge)是一个自由的数字图书馆,毓琦(yuki)是舒阁的命令行版本桌面客户端,可以用于下载和管理本地电子书籍。

shuge 有一个专门的仓库(Lee Tree,“李树”),用于收录电子书籍的种子文件(Lee Seed,“李树种子”);每个种子文件记录电子书籍的名称,类别,版本和下载地址等等元数据。

一般地,用户需要下载(第一次运行 yuki.py 时)或更新包含所有电子书籍元数据的种子文件,它们只是包含电子书籍名称和下载地址等等必要数据的文本文件,所以比较小。

下载一本电子书籍的流程

下载并安装 yuki 到 $HOME/shuge_desktop

wget http://shuge.googlecode.com/files/desktop-20090508.7z && 7z x desktop-20090508.7z -o$HOME/shuge_desktop

echo export PATH=$PATH:$HOME/shuge_desktop/desktop/bin/ >> ~/.bashrc && source ~/.bashrc

更新 Lee Tree

yuki.py -u

更新 Pear Tree(可选)

yuki.py -U

搜索名字包含 lolita 的电子书籍

yuki.py -s lolita

搜索描述包含 lolita 的电子书籍

yuki.py -S lolita

下载 lolita

yuki.py --ask lolita

--ask 参数表示下载前要确认

阅读 lolita

yuki.py -r lolita

删除 lolita

yuki.py -d lolita

如何向 shuge 提交、共享电子书籍

由于上前书籍分类不太合理,书籍元数据条目定义也不稳定,所以我建议您暂时提交书籍清单到 shuge dot lee at gmail dot com 接受格式为: txt html pdf chm tex

如果您使用的是 Linux,您可以使用 tree 程序生成书籍列表。

如果您使用的是 Windows,使用下面的命令生成。 dir /S $dir > ebook.txt

无论如何,我不建议、不提供、不怂恿您提交、共享有版权问题的书籍。

shuge 的 tree 主要分两种,一种是收录有专人长期、稳定、固定维护和更新的、以自由许可(CC 系列或 GFDL)发布的书籍的种子的李树──Lee Tree,另一种是,非 shuge 开发者或编辑维护的各种各样的 Pear Tree。

有 Gentoo 使用经验的人,会很容易明白 Lee Tree 和 Portage Tree,Pear Tree 和 Overlay 之间的关系。

感谢以下前辈

lidaobing

imtx

Shelly

Solrex

TODO

* 科学分类 * 改进中文支持 * 丰富中文李树种子 * 图形界面版本客户端

Read More:

23 Comments

  1. 1 Rothsdad Commented @ 2009-05-08 10:05Reply to this comment

    POWERFUL~

  2. 2 easing Commented @ 2009-05-08 10:35Reply to this comment

    非常好的想法,希望图形界面版本能早日完成。

  3. 3 zer4tul Commented @ 2009-05-08 10:37Reply to this comment

    名字很奇怪

  4. 4 oomengnan Commented @ 2009-05-08 10:40Reply to this comment

    名字很日本 feel

  5. 5 rhfcaesar Commented @ 2009-05-08 10:57Reply to this comment

    这个可是好东西啊!

  6. 6 kukat Commented @ 2009-05-08 11:44Reply to this comment

    下载安装的代码干吗有硬换行阿 另外导入PATH那句错了,应该是 echo export PATH=$PATH:$HOME/shuge_desktop/desktop/bin/ >> ~/.bashrc && source ~/.bashrc

  7. 7 shuge.lee Commented @ 2009-05-08 12:31Reply to this comment

    > 名字很日本 feel

    跟小日本没有任何关系

    “舒阁”是“毓琦图书馆”code.google.com/p/yukilib 的延伸,所以很多东西源自它。

    “舒阁”,“舒”,音同书,意同惬。 “毓琦”分别源自中国古籍《马退山茅亭记》中的“钟灵毓秀和”中国古籍《后汉书》《仲长统传》中的“琦赂宝货”。

    文档没有完美和更新,这是我的错

    这篇文章没有提及contributors,这是我的错

    这篇文章没有提醒编辑加“测试”标记,这是我的错 麻烦小东同学,改一下

    我主要是想找到志同道合的人,加快开发进度,及时改进让它与时俱进──能真正广泛应用到实际中来

  8. 8 shuge.lee Commented @ 2009-05-08 12:31Reply to this comment

    > 下载安装的代码干吗有硬换行阿 长行显示不换行,可能会误导新手

  9. 9 ati3200 Commented @ 2009-05-08 12:44Reply to this comment

    一次搞定的代码?!

  10. 10 kukat Commented @ 2009-05-08 12:49Reply to this comment

    还是错鸟,“souce ~/.bashrc” 应该是 source

  11. 11 AutumnCat Commented @ 2009-05-08 13:08Reply to this comment

    这个名字背后有段故事啊...

  12. 12 Pepino Commented @ 2009-05-08 14:21Reply to this comment

    再次惊险官方人士

  13. 13 hzxu Commented @ 2009-05-08 14:44Reply to this comment

    何必这么敏感,就算是有日本feel又如何呢,如果别人做得好的话?

  14. 14 cool Commented @ 2009-05-08 15:54Reply to this comment

    how can i get the homepage?

  15. 15 shuge.lee Commented @ 2009-05-08 20:35Reply to this comment

    > how can i get the homepage?

    程序主页 code.google.com/p/shuge

    开发者主页 lee.shuge.org

  16. 16 Noxide Commented @ 2009-05-08 22:46Reply to this comment

    真的是POWERFUL啊。支持

  17. 17 .name Commented @ 2009-05-09 14:12Reply to this comment

    牛啊

  18. 18 testnick Commented @ 2009-05-09 21:25Reply to this comment

    侵犯知识产权的事情就不要做了......

  19. 19 shuge.lee Commented @ 2009-05-09 22:38Reply to this comment

    呵呵,我是守法好公民

    非自由资源(即不是使用自由许可发布的)是不允许进入Lee Tree(资源源)的

    猛点这儿 http://www.douban.com/group/topic/6211382/

  20. 20 sbelieve Commented @ 2009-05-11 8:58Reply to this comment

    第一时间想起来 琅嬛福地

  21. 21 shuge.lee Commented @ 2009-05-12 13:42Reply to this comment

    > 琅嬛福地 有意思 我会使用这个词作为新核心模块的名称~~

  22. 22 matri Commented @ 2009-05-12 13:49Reply to this comment

    To shuge.lee, 天龙八部呵呵,还有和这个齐名的一个藏书库,不过我记不得名字了。

  23. 23 SecretZero Commented @ 2009-05-24 19:00Reply to this comment

    希望早日完工。