08:22 · 2024年8月18日 · 周日 Vercel 的 Edge 函数支持自定义部署区域,再通过 DoH 查询 DNS 记录就可以获取到 DNS 在全球各地的解析结果。于是我用这个特性搞了 DNS.Surf , 但是 Vercel Edge 函数计费很迷很容易把免费额度用完,干脆直接开源了吧。有兴趣的可以自己部署https://github.com/ccbikai/DNS.Surf GitHub GitHub - ccbikai/DNS.Surf: Querying DNS Resolution Results in Different Regions Worldwide. Querying DNS Resolution Results in Different Regions Worldwide. - ccbikai/DNS.Surf 👍 2
19:22 · 2024年8月16日 · 周五 上周用调用模型生成内容,HTML 偷懒直接扔给模型,浪费不少钱。这周用 sanitize-html 净化 HTML 后,再用 turndown 转成 Markdown,能省一点是一点。
11:02 · 2024年8月16日 · 周五 × 之前看到的 Landing Page 都是花里胡哨的风格,这次看到一个 shacdcn-ui 风格的 ConvertFast UI。开源的,分享一下:https://s.mt.ci/convert-fast-ui 👍 3
09:23 · 2024年8月9日 · 周五 Resend 马上要发布一个叫 Forward 的产品。这个 Landing Page 设计的很酷,很有极客风格https://s.mt.ci/resend-forward Resend Resend Forward An entire week of new feature announcements that will change the way you communicate with your users. 👍 2
19:08 · 2024年8月6日 · 周二 在给 BroadcastChannel 做 no-JS 的时候,遇到几个有趣点:1. 防剧透模式和移动端搜索框隐藏展示,使用的 CSS ":checked 伪类" 和 "+ 紧邻兄弟组合器" 实现的,可以参考: https://www.tpisoftware.com/tpu/articleDetails/2744 2. 过渡动画使用的 CSS View Transitions , 参考 https://liruifengv.com/posts/zero-js-view-transitions/3. 图片灯箱用的 HTML 的 popover 属性,参考: https://developer.mozilla.org/zh-CN/docs/Web/HTML/Global_attributes/popover4. 访问统计使用一个 1px 的透明图片做 LOGO 背景,上古技术了,现在几乎没有访问统计软件支持了5. 禁止浏览器端 JS 运行,使用的 Content-Security-Policy 的 script-src 'none' 参考: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src Tpisoftware CSS:利用Checked原理實現Toggle Switch 表單常會帶有一些控制元件,讓使用者填寫更加直覺,例如:checkbox,今天就來介紹如何使用純CSS將checkbox變成Toggle Switch吧。 👍 10 ❤️ 1
08:23 · 2024年8月5日 · 周一 BroadcastChannel 将你的 Telegram Channel 转为微博客https://github.com/ccbikai/BroadcastChannel GitHub GitHub - miantiao-me/BroadcastChannel: Turn your Telegram Channel into a MicroBlog. Turn your Telegram Channel into a MicroBlog. Contribute to miantiao-me/BroadcastChannel development by creating an account on GitHub. ❤️ 13 👍 4
21:05 · 2024年8月4日 · 周日 面条实验室 使用 Astro + Telegram Channel + SepiaTemplate 做了一个微博客。 浏览器端做到了 0 JS, 也可以加入 no-JS Club 了。 https://memo.miantiao.me/ 开源了,有兴趣的可以部署下。 https://github.com/ccbikai/BroadcastChannel/blob/main/README.zh-cn.md GitHub BroadcastChannel/README.zh-cn.md at main · miantiao-me/BroadcastChannel Turn your Telegram Channel into a MicroBlog. Contribute to miantiao-me/BroadcastChannel development by creating an account on GitHub.
19:14 · 2024年8月4日 · 周日 × 使用 Astro + Telegram Channel + SepiaTemplate 做了一个微博客。浏览器端做到了 0 JS, 也可以加入 no-JS Club 了。https://memo.miantiao.me/
09:35 · 2024年8月1日 · 周四 #Resend #Maingun 的开源替代 Plunk如果你申请了 AWS SES,可以部署下https://s.mt.ci/use-plunk Useplunk Plunk | The Open-Source Email Platform Plunk is the open-source, affordable email platform that brings together marketing, transactional and broadcast emails into one single, complete solution
22:26 · 2024年7月29日 · 周一 在咸鱼淘了一个阿里云 AP8220, 在几乎没有刷机资料的情况下,摸索了了两天,终于刷成了 QWRT, 写篇文档记录一下。不过 QWRT 用不习惯,希望有大佬适配下 ImmortalWrt 。https://chi.miantiao.me/posts/aliyun-ap8220/ miantiao.me 面条实验室 折腾些什么玩意 👍 1
12:28 · 2024年7月25日 · 周四 如果你有临时编辑图片的需求,可以试下 EDIT PHOTO 这个网页工具,完全免费。支持剪裁,缩放,滤镜,微调等功能,而且有常用图片的的模板。标题就是域名,很好记👍https://s.mt.ci/edit-photo Edit Photo No ads, no popups, no cookies, no account. The fastest way to edit photos online
12:13 · 2024年7月25日 · 周四 Eldora UI 出了一个 Landing Page, 很漂亮有需要的可以直接使用https://s.mt.ci/saas-landing-page源码: https://s.mt.ci/saas-landing-git saas-landing-page-template-eldoraui.vercel.app Saas Template - EldoraUI Template for saas applications with dark theme