itty.bitty.site 把内容储存进 url 进行分享的网站

2018-07-08 14:27:54 +08:00
 xujinkai
从这里看到的 https://www.oschina.net/news/97792/new-web-model-self-contained-microsites
网站地址: https://itty.bitty.site/edit

就是把你写的内容压缩编码进 url 里,服务器不储存数据,访问 url 的时候服务器把 url 解码返回。
他的服务器仅作解码,所以如果浏览器能支持,是可以省略网络访问这一步的。

感觉挺有意思,但细想一下就是把文本转成了 url 的形式,在国内好像可以有一些奇怪的用途
https://itty.bitty.site/#/?XQAAAAIYAAAAAAAAAABzK86OVUeEAYs2dAuQqLDpj/tf/sVvhfraWBjYMHP/+mmgAA==
3046 次点击
所在节点    分享发现
13 条回复
xujinkai
2018-07-08 14:31:13 +08:00
发现说错一点,不是服务器解码,而是 js 解码,内容在链接的#后
yamedie
2018-07-08 14:36:46 +08:00
在国内更大的用途是磁力链接发车吧!
SorcererXW
2018-07-08 15:15:51 +08:00
打开链接之后还是向 itty.bitty.site 服务器请求了页面,对于用户来说这和短链接似乎没有太大区别,只不过对于服务器来说不需要存储罢了
mokeyjay
2018-07-08 15:25:53 +08:00
没啥意义,你只要事先跟大家说明编码格式(比如 base64 ),直接去掉前面的域名一样发
iNaru
2018-07-08 15:30:27 +08:00
直接 Data URL,还不用发起网络请求。
xujinkai
2018-07-08 15:34:23 +08:00
@mokeyjay 所以就是省了一个步骤,还能直接打开而不用去找工具
rayhy
2018-07-08 15:59:19 +08:00
我昨天看 GitHub 发现这个了,解决了我的一个特别小众的需求。
我之前一直想找到在 Telegram 看 RSS 的工具,由于聊天软件本身限制,没法看 HTML。昨天把这个项目上传到了 netlify,又找了个短链接生成工具,这样每次有了 RSS 内容就发个链接。直接 APP 内打开链接就可以了。不过这个需求太太小众了。
这个小工具能做的事情不少,但感觉也没什么很大作用。。
Tink
2018-07-08 16:13:31 +08:00
这个只能传播纯文本么
jisibencom
2018-07-09 11:11:08 +08:00
没看出什么革命性。
sdalkesioe
2018-07-09 14:52:43 +08:00
有点类似于短连接服务;之前用短连接服务做了个文本压缩工具,10000 个长度的信息压缩到几个字符长度、
xujinkai
2018-07-09 15:15:37 +08:00
@sdalkesioe 还是有不一样的,短链接的信息是在服务器上的,你拿到的是 ID。而这个信息就在 url 里,与服务器无关,所以是不怕服务器挂的,只要知道如何解密就行。
taurenshaman
2018-07-10 15:45:54 +08:00
@mokeyjay
赞同,感觉用特殊的 URL 更好些?类似磁力链接之类的。
[protocol][separator][content]

优点:不需要域名,可以向 QRCode 一样推广到各类 APP ;只要有代码能识别协议即可

e.g.
base64:aGVsbG8gd29ybGQ=
base64!#aGVsbG8gd29ybGQ=
yuanfnadi
2018-07-27 13:31:11 +08:00
和我的想法一样。
我的 OCR 软件 OCR 会发一条推送。推送点击会去 GitHubPage。
然后把结果写入到 URL 链接里。

最终的链接是这样的。


https://diamondyuan.github.io/ocr/?ocr_result=%25E5%25AF%25B9%25E4%25BA%258E%25E4%25B9%25A0%25E6%2583%25AF%25E5%259C%25A8+HotSpot%25E8%2599%259A%25E6%258B%259F%25E6%259C%25BA%25E4%25B8%258A%25E5%25BC%2580%25E5%258F%2591%25E3%2580%2581%25E9%2583%25A8%25E7%25BD%25B2%25E7%25A8%258B%25E5%25BA%258F%25E7%259A%2584%25E5%25BC%2580%25E5%258F%2591%25E8%2580%2585%25E6%259D%25A5%25E8%25AF%25B4%252C%25E5%25BE%2588%25E5%25A4%259A%25E4%25BA%25BA%25E9%2583%25BD%25E6%259B%25B4%25E6%2584%25BF%25E6%2584%258F%25E6%258A%258A%25E6%2596%25B9%25E6%25B3%2595%25E5%258C%25BA+%250A%25E7%25A7%25B0%25E4%25B8%25BA%25E2%2580%259C%25E6%25B0%25B8%25E4%25B9%2585%25E4%25BB%25A3%25E2%2580%259D%2528+Permanent+Generation%2529%252C%25E6%259C%25AC%25E8%25B4%25A8%25E4%25B8%258A%25E4%25B8%25A4%25E8%2580%2585%25E5%25B9%25B6%25E4%25B8%258D%25E7%25AD%2589%25E4%25BB%25B7%252C%25E4%25BB%2585%25E4%25BB%2585%25E6%2598%25AF%25E5%259B%25A0%25E4%25B8%25BA+HotSpot%25E8%2599%259A%25E6%258B%259F%25E6%259C%25BA+%250A%25E7%259A%2584%25E8%25AE%25BE%25E8%25AE%25A1%25E5%259B%25A2%25E9%2598%259F%25E9%2580%2589%25E6%258B%25A9%25E6%258A%258AGC%25E5%2588%2586%25E4%25BB%25A3%25E6%2594%25B6%25E9%259B%2586%25E6%2589%25A9%25E5%25B1%2595%25E8%2587%25B3%25E6%2596%25B9%25E6%25B3%2595%25E5%258C%25BA%252C%25E6%2588%2596%25E8%2580%2585%25E8%25AF%25B4%25E4%25BD%25BF%25E7%2594%25A8%25E6%25B0%25B8%25E4%25B9%2585%25E4%25BB%25A3%25E6%259D%25A5%25E5%25AE%259E%25E7%258E%25B0%25E6%2596%25B9%25E6%25B3%2595%25E5%258C%25BA%25E8%2580%258C%25E5%25B7%25B2%252C%25E8%25BF%2599%25E6%25A0%25B7+%250AHotSpot%25E7%259A%2584%25E5%259E%2583%25E5%259C%25BE%25E6%2594%25B6%25E9%259B%2586%25E5%2599%25A8%25E5%258F%25AF%25E4%25BB%25A5%25E5%2583%258F%25E7%25AE%25A1%25E7%2590%2586Java%25E5%25A0%2586%25E4%25B8%2580%25E6%25A0%25B7%25E7%25AE%25A1%25E7%2590%2586%25E8%25BF%2599%25E9%2583%25A8%25E5%2588%2586%25E5%2586%2585%25E5%25AD%2598%252C%25E8%2583%25BD%25E5%25A4%259F%25E7%259C%2581%25E5%258E%25BB%25E4%25B8%2593%25E9%2597%25A8%25E4%25B8%25BA%25E6%2596%25B9%25E6%25B3%2595%25E5%258C%25BA%25E7%25BC%2596%25E5%2586%2599+%250A%25E5%2586%2585%25E5%25AD%2598%25E7%25AE%25A1%25E7%2590%2586%25E4%25BB%25A3%25E7%25A0%2581%25E7%259A%2584%25E5%25B7%25A5%25E4%25BD%259C%25E3%2580%2582%25E5%25AF%25B9%25E4%25BA%258E%25E5%2585%25B6%25E4%25BB%2596%25E8%2599%259A%25E6%258B%259F%25E6%259C%25BA%2528%25E5%25A6%2582+BEA+JRockit%25E3%2580%2581IBMJ9%25E7%25AD%2589%2529%25E6%259D%25A5%25E8%25AF%25B4%25E6%2598%25AF%25E4%25B8%258D%25E5%25AD%2598%25E5%259C%25A8%25E6%25B0%25B8%25E4%25B9%2585%25E4%25BB%25A3+%250A%25E7%259A%2584%25E6%25A6%2582%25E5%25BF%25B5%25E7%259A%2584%25E3%2580%2582%25E5%258E%259F%25E5%2588%2599%25E4%25B8%258A%252C%25E5%25A6%2582%25E4%25BD%2595%25E5%25AE%259E%25E7%258E%25B0%25E6%2596%25B9%25E6%25B3%2595%25E5%258C%25BA%25E5%25B1%259E%25E4%25BA%258E%25E8%2599%259A%25E6%258B%259F%25E6%259C%25BA%25E5%25AE%259E%25E7%258E%25B0%25E7%25BB%2586%25E8%258A%2582%252C%25E4%25B8%258D%25E5%258F%2597%25E8%2599%259A%25E6%258B%259F%25E6%259C%25BA%25E8%25A7%2584%25E8%258C%2583%25E7%25BA%25A6%25E6%259D%259F%252C%25E4%25BD%2586%25E4%25BD%25BF%25E7%2594%25A8%25E6%25B0%25B8+%250A%25E4%25B9%2585%25E4%25BB%25A3%25E6%259D%25A5%25E5%25AE%259E%25E7%258E%25B0%25E6%2596%25B9%25E6%25B3%2595%25E5%258C%25BA%252C%25E7%258E%25B0%25E5%259C%25A8%25E7%259C%258B%25E6%259D%25A5%25E5%25B9%25B6%25E4%25B8%258D%25E6%2598%25AF%25E4%25B8%2580%25E4%25B8%25AA%25E5%25A5%25BD%25E4%25B8%25BB%25E6%2584%258F%252C%25E5%259B%25A0%25E4%25B8%25BA%25E8%25BF%2599%25E6%25A0%25B7%25E6%259B%25B4%25E5%25AE%25B9%25E6%2598%2593%25E9%2581%2587%25E5%2588%25B0%25E5%2586%2585%25E5%25AD%2598%25E6%25BA%25A2%25E5%2587%25BA%25E9%2597%25AE%25E9%25A2%2598%2528%25E6%25B0%25B8%25E4%25B9%2585+%250A%25E4%25BB%25A3%25E6%259C%2589-+XX%253A+Max+Perm+Size%25E7%259A%2584%25E4%25B8%258A%25E9%2599%2590%252CJ9%25E5%2592%258C+JRockit%25E5%258F%25AA%25E8%25A6%2581%25E6%25B2%25A1%25E6%259C%2589%25E8%25A7%25A6%25E7%25A2%25B0%25E5%2588%25B0%25E8%25BF%259B%25E7%25A8%258B%25E5%258F%25AF%25E7%2594%25A8%25E5%2586%2585%25E5%25AD%2598%25E7%259A%2584%25E4%25B8%258A%25E9%2599%2590%252C%25E4%25BE%258B%25E5%25A6%258232+%250A%25E4%25BD%258D%25E7%25B3%25BB%25E7%25BB%259F%25E4%25B8%25AD%25E7%259A%25844GB%252C%25E5%25B0%25B1%25E4%25B8%258D%25E4%25BC%259A%25E5%2587%25BA%25E7%258E%25B0%25E9%2597%25AE%25E9%25A2%2598%2529%252C%25E8%2580%258C%25E4%25B8%2594%25E6%259C%2589%25E6%259E%2581%25E5%25B0%2591%25E6%2595%25B0%25E6%2596%25B9%25E6%25B3%2595%2528%25E4%25BE%258B%25E5%25A6%2582+String.+intern%2529%25E4%25BC%259A%25E5%259B%25A0%25E8%25BF%2599%25E4%25B8%25AA%25E5%258E%259F+%250A%25E5%259B%25A0%25E5%25AF%25BC%25E8%2587%25B4%25E4%25B8%258D%25E5%2590%258C%25E8%2599%259A%25E6%258B%259F%25E6%259C%25BA%25E4%25B8%258B%25E6%259C%2589%25E4%25B8%258D%25E5%2590%258C%25E7%259A%2584%25E8%25A1%25A8%25E7%258E%25B0%25E3%2580%2582%25E5%259B%25A0%25E6%25AD%25A4%252C%25E5%25AF%25B9%25E4%25BA%258E+Hotspot%25E8%2599%259A%25E6%258B%259F%25E6%259C%25BA%252C%25E6%25A0%25B9%25E6%258D%25AE%25E5%25AE%2598%25E6%2596%25B9%25E5%258F%2591%25E5%25B8%2583%25E7%259A%2584%25E8%25B7%25AF%25E7%25BA%25BF%25E5%259B%25BE%25E4%25BF%25A1+%250A%25E6%2581%25AF%252C%25E7%258E%25B0%25E5%259C%25A8%25E4%25B9%259F%25E6%259C%2589%25E6%2594%25BE%25E5%25BC%2583%25E6%25B0%25B8%25E4%25B9%2585%25E4%25BB%25A3%25E5%25B9%25B6%25E9%2580%2590%25E6%25AD%25A5%25E6%2594%25B9%25E4%25B8%25BA%25E9%2587%2587%25E7%2594%25A8+Native+Memory%25E6%259D%25A5%25E5%25AE%259E%25E7%258E%25B0%25E6%2596%25B9%25E6%25B3%2595%25E5%258C%25BA%25E7%259A%2584%25E8%25A7%2584%25E5%2588%2592%25E4%25BA%2586e%252C%25E5%259C%25A8%25E7%259B%25AE%25E5%2589%258D%25E5%25B7%25B2+%250A%25E7%25BB%258F%25E5%258F%2591%25E5%25B8%2583%25E7%259A%2584JDK17%25E7%259A%2584+HotSpot%25E4%25B8%25AD%252C%25E5%25B7%25B2%25E7%25BB%258F%25E6%258A%258A%25E5%258E%259F%25E6%259C%25AC%25E6%2594%25BE%25E5%259C%25A8%25E6%25B0%25B8%25E4%25B9%2585%25E4%25BB%25A3%25E7%259A%2584%25E5%25AD%2597%25E7%25AC%25A6%25E4%25B8%25B2%25E5%25B8%25B8%25E9%2587%258F%25E6%25B1%25A0%25E7%25A7%25BB%25E5%2587%25BA%25E3%2580%2582

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/469042

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX