Show HN: 我写了个脚本,能给我打来假电话,用来摆脱无聊时刻
4 分•作者: madinmo•9 个月前
我写了个小脚本,用来给我打个假电话,好让我摆脱无聊又尴尬的处境。我在 Twilio 上买了个虚拟号码,并把它存成了我某个亲戚的电话。<p>每当我感觉被困住的时候,就点一下手机上的“逃生”按钮。它会向我的远程服务器发送一个请求。服务器运行一个小的 Python 脚本,安排一个真实的电话呼叫。一分钟后,我的手机就会响铃,并播放预先录好的音频。<p>我只要说一句“不好意思,我接个电话”,然后走开就行了。虽然只是个小项目,但它已经救了我很多次了。<p>脚本 - <a href="https://x.com/the2ndfloorguy/status/1965624429146165251" rel="nofollow">https://x.com/the2ndfloorguy/status/1965624429146165251</a>
查看原文
I built a little script that gives me a fake phone call to escape boring and awkward situations. I bought a virtual number from twilio
and saved it as one of my relatives.<p>Whenever I feel stuck, I just tap a button called “ESCAPE” on my phone. It sends a request to my remote server. The server runs a small Python script which schedules an actual call. After a minute, my phone rings and plays a pre-recorded audio.<p>I simply say “sorry, I’m getting a call” and walk away. A tiny project, but it has saved me so many times.<p>Script - <a href="https://x.com/the2ndfloorguy/status/1965624429146165251" rel="nofollow">https://x.com/the2ndfloorguy/status/1965624429146165251</a>