TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: PHONK, JavaScript scripting for Android devices

57 点作者 victornomad将近 5 年前

9 条评论

victornomad将近 5 年前
Just to add a few more things about PHONK:<p>- PHONK is a full dev environment that lives within the phone &#x2F; tablet<p>- The Web Editor is hosted inside the device and served using a web server. So no 3rd party servers &#x2F; cloud needed.<p>- It can access the device sensors in a couple of lines of code<p>- Has support for Websockets, MQTT, OSC, Midi, Bluetooth, Bluetooth BLE, NFC and more in a very concise way<p>- You can connect an Arduino straight to the phone with a USB OTG cable and communicate with it<p>- UI uses normalized coordinates, which is very handy for prototyping. It comes with a variety of views for most needs. You can also create a custom one.<p>- There is live code execution from the Web Editor. Just select the code =&gt; Control (or CMD) + Shift + X and that code will be live executed.<p>- PHONK comes with a Console, so you can console out wirelessly to the Web Editor.<p>- It comes with OpenStreetMaps support by default<p>- More advanced 2d and 3d graphics can be done through Processing which is included as a library.
eggy将近 5 年前
Great work! I&#x27;m having a blast. I have tried 8th (a Forth that compiles to many platforms), a bunch of Basics, picoLisp, and some others, but using my mobile as a hotspot and coding from my laptop is so easy. I love that you included libPd and Processing.<p>One error I see: I ran the Date under JavaScript Basics, and it gives the right long string date (Mon Jun 29 2020 13:38:02 GMT-0400 (EDT)), but when it pulls the fields it has a &#x27;5&#x27; for month.
评论 #23681949 未加载
评论 #23680074 未加载
mkgolden将近 5 年前
Phonk is also a genre that typically takes samples from early-1990s hip hop, combining them with sounds from jazz,and deploys distorting techniques such as chopped and screwed to create a darker sound.<p>- From wikipedia<p>Really cool stuff I might add
评论 #23674508 未加载
tn1将近 5 年前
This could be a nice alternative to LlamaLab Automate [1], which is really useful for automating UI things on Android. That one is flowchart based, sort of like Scratch.<p>Theoretically one could write a scripting language for it, but it stores its programs in a proprietary binary format and the parser class is too hairy for me to reverse engineer. (the decompiler in jadx only gives you smali for most of it, control flow is too complex)<p>[1] <a href="https:&#x2F;&#x2F;llamalab.com&#x2F;automate&#x2F;" rel="nofollow">https:&#x2F;&#x2F;llamalab.com&#x2F;automate&#x2F;</a>
评论 #23676085 未加载
评论 #23679141 未加载
truth_seeker将近 5 年前
Very smart integration layer with Rhino and Android components factory API ! Although i would love to see if ES7&#x2F;8 features are also make their way.... may be GraalJS can help ... not sure about this.<p>Looking at the API it supports i think for the most apps i use on daily basis can be prototyped without the bulky Android Studio.<p><a href="https:&#x2F;&#x2F;phonk.app&#x2F;reference" rel="nofollow">https:&#x2F;&#x2F;phonk.app&#x2F;reference</a>
评论 #23676008 未加载
httptoolkit将近 5 年前
Slightly off topic, but I love the site design here - the demos at the top illustrate it perfectly and simply, and it&#x27;s one of few scroll-to-reveals I&#x27;ve seen that actually makes sense, and doesn&#x27;t feel over the top.
评论 #23694048 未加载
foobar_将近 5 年前
How is this different from nativescript ?
评论 #23674540 未加载
thecupisblue将近 5 年前
What JS engine are you using under the hood? :)
评论 #23705027 未加载
chr15m将近 5 年前
A lot of work obviously went into this. Super cool!
评论 #23677281 未加载