Giter Club home page Giter Club logo

phonk's Introduction

logo Phonk

Phonk is a self-contained, creative coding environment for Android Devices.

github version PRs welcome

Introduction

๐ŸŽ‰ Hello! I'm happy to see you here reading about Phonk!!

Phonk is an app for your Android device(s) that lets you make cool stuff programming your phone or tablet in an easy, fast and enjoyable way.
You can code directly from the Android device or using the remote Editor from your computer using your web browser. Pick an old phone (or new) from the drawer and transform it into a robot, a music device, or make cool graphics.

Features

  • Takes 1 min to setup in your phone.
  • No need to install anything in your computer
  • Uses Javascript thanks to Mozilla Rhino, an old but powerful library that exposes Java to Javascript
  • Simplified API. Create custom interfaces and access on-device sensors in a couple of lines of code
  • Pseudo Live Coding (Select your code and Control + x to live execute)
  • Bluetooth and Arduino in few lines of code
  • MQTT, Http requests, Websockets, OSC, Midi
  • Access to Processing.org API
  • Use your PureData skills thanks to the embed LibPd
  • OpenStreetMaps and muuuch more!

How to install it

Get it from

If you have an Android phone with a version higher than 4.1 (that's from 2012!) then it should work! If you find a problem, please create an issue.

During the first install, the app will

  1. Ask you for a bunch of permissions. I recommend to accept all of them to be able to run the examples. You can always revoke them :)
  2. Install the examples in the device "sdcard" folder. Doing this we can easily access the examples and self-made scripts from any other app.

How to create your first script

Run the Phonk app in your Android device. You can create your first script within the device although it might be a bit cumbersome using the device virtual keyboard.

Instead, connect your computer and Android to the same Wifi network. On your computer open the browser and type the ip address indicated on your phone after pressing "Start web editor". A web editor will load allowing you to code on the phone.

You can create a new project and copy and paste this into the editor.

 sensors.accelerometer.onChange(function (data) {
   console.log(data.x, data.y, data.z)
 })

Now run the project. You can explore the variety of examples included in Phonk and modify them in order to explore its capabilities.

Philosophy

  • TODO

Get Involved

  • Write about it
  • Make something with Phonk.io and share it (github, e-mail, etc)
  • TODO

Roadmap

  • TODO

Contributors / Credits

  • TODO

Support

  • TODO

License

This project is licensed under the terms of the GPL / LGPL v3 License. You can check out the full LICENSE description on the file LICENSE.txt.

phonk's People

Contributors

victordiaz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.