y
V2EX  ›  问与答

哪里可以贴纯文本 txt 文件且国内访问较快?

  •  
  •   y · Apr 9, 2013 · 5947 views
    This topic created in 4785 days ago, the information mentioned may be changed or developed.
    平时一般贴自己的 dropbox public, 但想分享给国内的人不方便。
    也不是很 technical 的内容,不适合贴 github 。

    想问问有什么合适的服务。
    纯文本,不需高亮语法什么的。
    最好不要在文本框内显示,而是直接显示。

    最好就是一个上传 txt 文件之后能直接按照比如

    v2ex.com/member/y/public/hello.txt

    这种方式展示的服务。
    35 replies    1970-01-01 08:00:00 +08:00
    ThunderEX
        1
    ThunderEX  
       Apr 9, 2013
    joyjy
        2
    joyjy  
       Apr 9, 2013   ❤️ 1
    hzlzh
        3
    hzlzh  
    PRO
       Apr 9, 2013
    Gist
    https://gist.github.com/
    想贴啥都行,每人说非要扔代码。
    y
        4
    y  
    OP
       Apr 9, 2013   ❤️ 1
    @joyjy
    @ThunderEX 这两个都加了框框,不是 plain txt.

    最好还能看到上传内容的标题。比如这个的效果:

    https://dl.dropbox.com/u/9034084/Instant/test
    fkccp
        5
    fkccp  
       Apr 9, 2013
    lz要的应该是类似rfc文档那样子的吧

    http://www.ietf.org/rfc/rfc3119.txt
    swulling
        6
    swulling  
       Apr 9, 2013
    y
        7
    y  
    OP
       Apr 9, 2013
    @fkccp 对的。

    @swulling 看来 pastebin 还是可以基本满足要求,只是文件名不太好。

    还是 dropbox 算了,https 的话,国内不知道墙的用户也可以打开的吧。
    phuslu
        8
    phuslu  
       Apr 9, 2013
    cnblogs
    mechille
        9
    mechille  
       Apr 9, 2013
    y
        10
    y  
    OP
       Apr 9, 2013
    @mechille 这个不能公开分享吧…… 我是希望贴了能让别人看的。

    你看我在 4 楼给的例子。或者是 5 楼那种。
    swulling
        11
    swulling  
       Apr 9, 2013
    @y 你能看见不就代表公开分享了么?
    liuhang0077
        13
    liuhang0077  
       Apr 9, 2013
    试试这个? http://d.pr/n/j1WO
    xiatian
        14
    xiatian  
       Apr 9, 2013
    http://farbox.com/

    可以识别DropBox里的.txt 、.md、.markdown、.docx四种后缀的文档。
    swulling
        15
    swulling  
       Apr 9, 2013
    pine2D
        16
    pine2D  
       Apr 9, 2013
    Gist 的框框右上角可以点“View Raw”,觉得 URL 不讨喜可以用 git.io 缩短,支持自定 ID 的:https://github.com/blog/985-git-io-github-url-shortener
    y
        17
    y  
    OP
       Apr 9, 2013
    @swulling v2ex 的 notes 连空格都会消掉啊。

    gist 这个似乎是比较好了,有没有可以不登录随意传的呢,
    就像 imgur 那样。不想贴点小东西就被人肉了。
    swulling
        18
    swulling  
       Apr 9, 2013
    @y 退出登录,上传文件!

    自己要多试试再说其他的
    botao1
        19
    botao1  
       Apr 9, 2013
    一定要贴txt么? 可以试试在线笔记本 “简书” http://jianshu.io/
    y
        20
    y  
    OP
       Apr 9, 2013
    @swulling 不好意思啊,多谢你指点。从没想到过 logout github... 隐身窗口算了。
    joyjy
        21
    joyjy  
       Apr 9, 2013
    @y "share this" 生成的就是只读的……不过反正你也有多种选择了。
    AnyOfYou
        22
    AnyOfYou  
       Apr 9, 2013
    我自己用SAE的空间,写一个将选中文件通过SVN上传到SAE的脚本,来实现的.没啥难度,就是移动文件到特定目录,命令行操作SVN Commit,再把链接存到剪贴板里.只不过这样访问的时候都是会提示下载.LZ要能在浏览器直接预览,稍微改一下就可以.
    ccbikai
        23
    ccbikai  
    PRO
       Apr 9, 2013
    CoX
        24
    CoX  
       Apr 9, 2013
    做个简单应用存到sae或者bae的storage里
    yangzh
        25
    yangzh  
       Apr 9, 2013
    ziseyinzi
        26
    ziseyinzi  
       Apr 9, 2013 via Android
    麦库
    imcj
        27
    imcj  
       Apr 9, 2013
    greatghoul
        28
    greatghoul  
       Apr 10, 2013
    或者你可以试试云诺
    http://s.yunio.com/swgMzc
    http://s.yunio.com/public/getcontenttext/token/swgMzc

    不过 URL 上不是很漂亮,不能标识出文件名
    greatghoul
        29
    greatghoul  
       Apr 10, 2013
    你也可以试试 SAE 上建立一个 PHP 项目,然后然后往目录里面扔 PHP 文件即可,比较这样
    http://textbox.sinaapp.com/readme.txt

    速度上当然也相当不错了。
    momou
        30
    momou  
       Apr 10, 2013
    不明白这需求。。。
    自己随便搞个空间把TXT传上去不就得了。。。
    ccming
        31
    ccming  
       Apr 10, 2013
    tumblr不行吗
    dallaslu
        32
    dallaslu  
       Apr 10, 2013
    哈哈,https://dollynote.com 绝对够用了,访问网站首页,会自动为你创建一个唯一地址。

    请看:
    https://dollynote.com/8pdcjtkp
    https://dollynote.com/8pdcjtkp.txt
    feikeq
        33
    feikeq  
       Apr 10, 2013
    ★★★★★ 用提笔记吧,可以在任何联网设备上打开,并且还能设置访问密码。
    http://tibiji.com
    cjjia
        34
    cjjia  
       Apr 10, 2013
    楼主如果喜欢dropbox public,可以参考下“换图床不如换思路,Dropbox绑定域名继续外链”这篇文章。

    个人比较推荐用greproxy反向代理。

    用cdn加速(比如cloudflare、orca)设置比较简单些。
    cjjia
        35
    cjjia  
       Apr 10, 2013
    刚看了下,原来dropbox的ip没有被墙,所以直接把域名解析到dl.dropbox.com就可以了,不需要使用cdn加速。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2845 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 114ms · UTC 10:55 · PVG 18:55 · LAX 03:55 · JFK 06:55
    ♥ Do have faith in what you're doing.