TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: PHONK, JavaScript scripting for Android devices

57 pointsby victornomadalmost 5 years ago

9 comments

victornomadalmost 5 years ago
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.
eggyalmost 5 years ago
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 未加载
mkgoldenalmost 5 years ago
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 未加载
tn1almost 5 years ago
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_seekeralmost 5 years ago
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 未加载
httptoolkitalmost 5 years ago
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_almost 5 years ago
How is this different from nativescript ?
评论 #23674540 未加载
thecupisbluealmost 5 years ago
What JS engine are you using under the hood? :)
评论 #23705027 未加载
chr15malmost 5 years ago
A lot of work obviously went into this. Super cool!
评论 #23677281 未加载