How mit-cml/appinventor-sources works
MIT App Inventor lets users create projects in a visual programming environment, manage project files, build applications, and run them in companion apps. The tree and README show the major server, editor, component-runtime, and iOS surfaces; excerpts additionally show project-file operations, map rendering, and the iOS REPL/WebRTC path. Several important subsystems are represented by their exact tree paths but were not sampled, so their internal connections are left unverified rather than inferred.
Main entry points: CommonProjectService.java Project Service · ReplForm.swift REPL Form · src Visual Editor · WebRTCNativeManager.swift WebRTC Link
Components 19
App Authoring
- Visual Editor
appinventor/blocklyeditor/src - Block Toolbox
appinventor/blocklyeditor/src/toolboxController.js
App Inventor Server
- Project Service
appinventor/appengine/src/com/google/appinventor/server/project/CommonProjectService.java - Project Storage
appinventor/appengine/src/com/google/appinventor/server/storage/ObjectifyStorageIo.java - App Engine Services
appinventor/appengine/src - Build Server
appinventor/buildserver/src
App Runtime
- Component Runtime
appinventor/components/src/com/google/appinventor/components/runtime - Map Component
appinventor/components/src/com/google/appinventor/components/runtime/Map.java - OSM Map Renderer
appinventor/components/src/com/google/appinventor/components/runtime/util/NativeOpenStreetMapController.java - File Component
appinventor/components/src/com/google/appinventor/components/runtime/File.java
iOS Companion
- iOS Components
appinventor/components-ios/src - iOS Form Runtime
appinventor/components-ios/src/Form.swift - REPL Form
appinventor/components-ios/src/ReplForm.swift - iOS Companion
appinventor/aicompanionapp/src/ViewController.swift - Player App
appinventor/PlayerApp/RootViewController.swift - WebRTC Link
appinventor/components-ios/src/WebRTCNativeManager.swift
Other components
- App Creator
- Built App
- Rendezvous Service
Connections 18
- App Creator → Visual Editor: authors in
- Visual Editor → Block Toolbox: uses blocks
- Visual Editor → Project Service: saves projects
- Project Service → Project Storage: reads and writes
appinventor/appengine/src/com/google/appinventor/server/project/CommonProjectService.java - App Engine Services → Project Service: serves projects
appinventor/appengine/src/com/google/appinventor/server/project/youngandroid/YoungAndroidProjectService.java - Project Service → Build Server: requests builds
- Build Server → Built App: produces app
- Built App → Component Runtime: runs with
- Component Runtime → Map Component: provides map
appinventor/components/src/com/google/appinventor/components/runtime/util/NativeOpenStreetMapController.java - Map Component → OSM Map Renderer: creates renderer
appinventor/components/src/com/google/appinventor/components/runtime/Map.java - App Creator → File Component: uses file APIs
- iOS Companion → REPL Form: runs REPL
appinventor/aicompanionapp/src/ViewController.swift - REPL Form → iOS Form Runtime: extends form
appinventor/components-ios/src/ReplForm.swift - Player App → REPL Form: loads REPL
appinventor/PlayerApp/RootViewController.swift - Player App → iOS Form Runtime: loads form
appinventor/PlayerApp/RootViewController.swift - iOS Companion → WebRTC Link: starts connection
appinventor/aicompanionapp/src/ViewController.swift - WebRTC Link → Rendezvous Service: signals peer
appinventor/components-ios/src/WebRTCNativeManager.swift - REPL Form → WebRTC Link: sends runtime data
appinventor/components-ios/src/ReplForm.swift