V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  meeop  ›  全部回复第 9 页 / 共 36 页
回复总数  718
1 ... 5  6  7  8  9  10  11  12  13  14 ... 36  
@superkkk 改了下参数,变成超简单版,体验下

data:text/html;base64,CjwhZG9jdHlwZSBodG1sPgo8aHRtbD4KIAogIDxoZWFkPgogICAgPHRpdGxlPkpTMWsgMjAxNiAtIERlbW8gMjYxMiAtICIzIENhcmQgS2xvbmRpa2UiPC90aXRsZT4KICAgIDxtZXRhIGNoYXJzZXQ9InV0Zi04Ij4KIAogICAgPHNjcmlwdD4KICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpewogICAgICAgIHZhciBnYSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3NjcmlwdCcpOwogICAgICAgIGdhLmFzeW5jID0gdHJ1ZTsKICAgICAgICBnYS5kZWZlciA9IHRydWU7CiAgICAgICAgZ2Euc3JjID0gJ2h0dHBzOi8vd3d3Lmdvb2dsZS1hbmFseXRpY3MuY29tL2dhLmpzJzsKICAgICAgICBnYS5vbmxvYWQgPSBmdW5jdGlvbigpe3RyeXtfZ2F0Ll9nZXRUcmFja2VyKCdVQS0xOTg4MjM1My0xJykuX3RyYWNrUGFnZXZpZXcoKTt9Y2F0Y2goZSl7d2luZG93LmNvbnNvbGUmJmNvbnNvbGUubG9nKCJnYSBmYWlsIDonKCAiKTt9O307CiAgICAgICAgdmFyIHMgPSBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgnc2NyaXB0JylbMF07CiAgICAgICAgcy5wYXJlbnROb2RlLmluc2VydEJlZm9yZShnYSwgcyk7CiAgICAgIH0sIDEwKTsKICAgIDwvc2NyaXB0PgogICAgPHN0eWxlPgogICAgICAvKiBodHRwczovL3Fmb3gubmwvbm90ZXMvMzMzICovCiAgICAgIGJvZHksaHRtbCxpZnJhbWV7bWFyZ2luOjA7cGFkZGluZzowO2JvcmRlcjowO3dpZHRoO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kLm9uY2xpY2s9aDt0Lmluc2VydEJlZm9yZShkLEIpfSkoKTsKICAgIDwvc2NyaXB0PgogIDwvYm9keT4KPC9odG1sPgo=
@superkkk 😂😂😂抱歉这个纸牌的实现过于简单了,估计是纯随机不一定有解
@itskingname Data URL 只是一个编码协议,编码 html 代码到 url.
这个 html 代码可以包含 html+css+js+图片+二进制数据等一切东西

当然,现实中会在 html 中引入各种 web 资源,这种 urlapp 确实不是纯粹的单 html 应用
@stardustree 你是指启动浏览器的默认页面吗?我试了试可以启动啊,操作路径 [设置]-[启动时]-[打开特定网页或一组网页],然后填 dataurl 或者某个 urlappp 的 html 文件路径都行
建议守好你的钱,最近 3 年内不买车,不买房,最近经济很差,车房都在高速降价,再等等

老婆和丈母娘这边,好好聊聊,他们尊重你的话会商量出一个大家能接受的方案的,他们不尊重你的话那也没啥可惜的,找下一个

24 岁这个年龄经济上是比父母的钱,所以你有多少钱其实不重要,对自己有信心的话 28 再结,这个时候你的钱,事业,恋爱观都更成熟,节奏也正好
可以的话分享到 urlapp.org 吧,这样别人就能使用这个功能了
参考:
https://urlapp.org/apps/doc2024072200003/howToPublish
发个帖就行
@huajingkun1214 这里有个例子,你可以在一个 urlapp 里访问 urlapp
https://urlapp.org/apps/app2024072200008/virtualWin
@huajingkun1214 可以,项目构建后其实就只有一个 html+一个 js 文件,可以手动合并为一个 html 文件
只不过出于页面加载速度考虑我没这么干,实践上我验证过一个 100m 的 html 文件毫无问题
100M 按照 10k 一个 urlapp 可以容纳 1w 个 app 了,我估计永远都不会有这么多数据
@qwertyzzz 还有就是无广告,工具站为了盈利一定是要塞广告的,或者弹窗,或者占用 ui 面积
urlapp 可以有广告,但是是开源的,不爽你可以自己删掉广告
@qwertyzzz 举个例子,比如 json 格式化,下面这个链接会比任何其他 json 格式化工具加载迅速(完全感受不到加载时间)

data:text/html;base64,PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ+CjxtZXRhIGNoYXJzZXQ9I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3VtZW50LmdldEVsZW1lbnRCeUlkKCdpbnB1dEpzb24nKS5hZGRFdmVudExpc3RlbmVyKCdpbnB1dCcsIGZ1bmN0aW9uKCkgewogICAgdmFyIGlucHV0ID0gdGhpcy52YWx1ZTsKICAgIHRyeSB7CiAgICAgIHZhciBvdXRwdXQgPSBKU09OLnN0cmluZ2lmeShKU09OLnBhcnNlKGlucHV0KSwgbnVsbCwgNCk7CiAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdvdXRwdXRKc29uJykudmFsdWUgPSBvdXRwdXQ7CiAgICB9IGNhdGNoIChlKSB7CiAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdvdXRwdXRKc29uJykudmFsdWUgPSAiRXJyb3I6ICIgKyBlLm1lc3NhZ2U7CiAgICB9CiAgfSk7Cjwvc2NyaXB0Pgo8L2JvZHk+CjwvaHRtbD4K
@qwertyzzz 相对工具类网站呢:
1 网站和 app 保持永久可用,好用的工具你收藏后就是你的,不会有一天没了

2 代码开源,app 有些细节想调整(比如 json 格式化加个粘贴自动格式化功能),工具站可不给你调整,你可以在源码基础上自己调整

3 他不止工具站啊,单 html 应用是一个 app,它还可以是游戏,动画,应用

4urlapp.org 还会提供在线使用,讨论,反馈,评价能力,会提供一些社区能力

5 就工具类应用而言,urlapp 不需要网络,打开非常快,几个毫秒级别
@shadowyue 比如你可以收藏 urlapp 的落地页,这个页面会保持最新,也是 urlapp.org 这个网站主要解决的问题
https://urlapp.org/detailPage?appId=app2024072200007
@shadowyue 我想了 3 个办法:
1 对于在 urlapp.org 上发布,你需要以发帖的形式在 github discussion 上发一个发布 app 帖子
这个帖子就是你的 urlapp 发布页面了,后续更新/评价/讨论都可以围绕这个帖子进行
后续更新也可以以同样的形式发帖,而 urlapp.org 会处理发布帖子,定期录入更新 urlapp
urlapp.org 上的 urlapp 永远是最新的
参考:https://urlapp.org/apps/doc2024072200003/howToPublish

2 可以直接联系作者,追更或者订阅

3 代码开源的,小修改可以自己动手(这一点几乎所有 app 都做不到)
@qwertyzzz 我想解决的场景是轻量的单 html 应用的分发问题,前面说了,这个形式的 app 有普通网页无法替代的一些属性,那,相对于部署在 github pages 这类静态网站托管服务:

1 这里分发的是一个打开即用的 app,而不是更发散的网页,并且提供一个集中的分发,使用,搜索,评价,反馈平台
2 只要保存页面,这个 app 永远可用,托管网站做不到这点(作者也可能删除页面)
3 开发和维护成本更低,发个帖子的成本

如果说有人做一个关于网页/网站的聚合,评价,分享,发布,托管平台倒是也类似,但那是一个更复杂的场景,和轻量 html 应用场景不冲突
@qwertyzzz
1 易于分享
你可以在论坛聊天窗口直接分享一个 app,而且打开即用,类似这样
https://www.v2ex.com/t/1056167?p=1#reply20
普通网页的话,要么你自己部署然后分享 url,要么你给别人分发一个文件或者下载链接

2 永久可用
网页需要依赖后台服务器,应该经常能遇到收藏的一些网页过一段时间就打不开了
urlapp 不会,它以源码形式分享,加入收藏夹,就永远都能用

3 超低的开发/部署/分发成本
普通网页你需要一个后台服务器,正规一点的话还需要 icp 备案,域名备案,买 vps,全套下来几万块钱+费时费力
对于单 html 能力范围的场景,如果直接拿 dataurl 分享,纯粹的 0 成本,如果拿 urlapp.org 分享,也就发个帖子的事

4 轻量秒开
网页是有网络交互的,最快的网页打开也有眼屎
urlapp 不会,加入收藏夹后打开只有 3ms 加载时间
129 天前
回复了 cxz2998 创建的主题 奇思妙想 话说有这样的平台么?用来创业可行不
有需求,可行,但不是很好做

其实所有行业/垂直领域都需要一个专业的高效的问答社区
但是因为上述各位回答的种种原因不是很好做,需要克制,运营,资源拉通

但是确实是刚需
一共就 9 个格子,用 js 遍历一遍计算放置位置
布局的话,网格布局应该可行,比如 2*2 的卡片就要把放置位置的格子连起来,网格布局支持的,不行就暴力一点用绝对布局,一共也就 9 个格子需要设置位置呀
@kero991 这个好强大
1 ... 5  6  7  8  9  10  11  12  13  14 ... 36  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5203 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms · UTC 05:43 · PVG 13:43 · LAX 21:43 · JFK 00:43
Developed with CodeLauncher
♥ Do have faith in what you're doing.