开源自托管CloudApp
regenwolken的Python项目详细描述
#Regenwolken–一个开源的CloudApp服务器
[cloud.app][app]是really很方便,共享文件从来没有那么容易。但我没有
喜欢看到(个人)数据,如屏幕截图或代码片段
伸手。Regenwolken是云应用程序API的一个功能齐全的实现
一个缺点:你必须编辑你的/etc/hosts
。
####打开服务器
我已经为每个人建立了一个服务器。简单地说,添加134.255.239.78 my.cl.ly
敬你的/etc/hosts
。超过三天的项目将在午夜清除
(只有一个小的虚拟服务器)。快乐的测试!
##快速启动
OS X的简短说明,根据Linux发行版调整这些命令 选择(Debian Squeeze!).
$ brew install mongodb $ mongod –dbpath foo/ &
现在安装regenwolken及其依赖项:
$ easy_install regenwolken $ easy_install pygments Pillow markdown # optional
修改/etc/hosts,启动regenwolken并注册一个新帐户
$ echo “12.34.56.78 my.cl.ly” | sudo tee -a /etc/hosts $ regenwolken & [… open Cloud.app or another client and register a new account] $ rwctl activate USERNAME
您可以使用
配置文件,如/path/to/rw.cfg
,包含以下内容:
$ cat /path/to/rw.cfg PUBLIC_REGISTRATION = True $ export REGENWOLKEN_SETTINGS=/path/to/rw.cfg $ regenwolken
##如何使用Regenwolken
作为另一个cloudapp服务器,您必须编辑它们的dnsmy.cl.ly 指向你自己的IP。这不会影响CloudApp服务 因为他们使用cl.ly和f.c.ly进行共享。
$ echo “12.34.56.78 my.cl.ly” | sudo tee -a /etc/hosts
注意:您应该在regenwolken.cfg中设置一个hostname(=您的域)。 这将返回到自定义的url,直接指向您的主机, 所以其他人不需要修改他们的主机。
##设置和配置
参见[deployment.md](https://github.com/posativ/regenwolken/blob/master/doc/DEPLOYMENT.md)和 [config.rst](https://github.com/posativ/regenwolken/blob/master/doc/CONFIG.rst)了解详细信息。
##API实现
Regenwolken提供所有API调用以使cloud.app正常工作,而且只有很少的 缺少[CloudApp的API](http://developer.getcloudapp.com/)调用。见 [api.md](https://github.com/posativ/regenwolken/blob/master/doc/API.md)的完整列表 特征。下面是Web界面当前包含的内容。
# -H “Accept: text/html”
/ - GET basic web interface /items/<short_id> - GET file or redirect from bookmark /items/<short_id>/filename - GET same as /items/<short_id> /<short_id> - GET viso-like file view or redirect from bookmark /thumb/<short_id> - GET thumbnail of item
感谢[cmur2](https://github.com/cmur2)的丰富功能 [cli](https://github.com/cmur2/cloudapp-power-cli)(支持https!) 帮助建立这个服务!
##客户
如果您正在为CloudApp开发API或客户端,请考虑一个可配置的 服务URL。这使得主机文件黑客不必要,并且作为一个副作用 可以对所有连接使用https(功能仍在master中)。
###工作
- Mac OS X[云应用程序][应用程序]
- [Cloudette](http://cloudetteapp.com/)——免费的CloudApp iPhone客户端,工作完美
- [BlueNube](http://bluenubeapp.com/)–1,99$iPad客户端
- [stratus](http://www.getstratusapp.com/)–用于ios的cloudapp客户端(iphone/ipad);也将
127.0.0.1 ws.pusherapp.com
添加到/etc/hosts。 - [cloudapp power cli](https://github.com/cmur2/cloudapp-power-cli)–功能丰富的命令行工具
- [jcloudapp](https://github.com/cmur2/jcloudapp)–Java中的跨平台cloud.app小部件(支持Regenwolken!的https)
- [gloudapp](https://github.com/cmur2/gloudapp)–基于linux+gtk的客户端
不要使用官方的cloudapp-cli
应用程序,它仍然是beta版,功能更少,不支持其他现成的服务。
###失败的客户机
- windows'[fluffyapp](http://fluffyapp.com/),无法登录
##链接:
- [rixth/raincloud](https://github.com/rixth/raincloud)–a(满?)云 用node.js编写的实现
- [我的博客中的简短描述](http://blog.posativ.org/2011/regenwolken-hosting-cloudapp-on-your-own-server/)
[应用程序]:http://itunes.apple.com/us/app/cloud/id417602904?mt=12&ls=1