Skip to content
bettioPublic

About

No description, website, or topics provided.

Resources

Stars

28 stars

Watchers

3 watching

Forks

Repository files navigation

🌐 pocketOS

🎯 What is pocketOS?

pocketOS is not your typical operating systemβ€”it's an Elixir application that transforms ESP32-based handheld devices into powerful, hackable cyberdecks. Running on AtomVM β€” which brings the BEAM to resource-constrained devices β€” pocketOS delivers a complete handheld experience with functional, concurrent code on hardware that fits in your pocket.

✨ Features

  • 🎨 Native Elixir UI - Build UIs without leaving the BEAM
  • πŸ’» ALisp Terminal - Interactive LISP environment for on-device hacking
  • πŸ“‘ Meshtastic Protocol - Send messages over LoRa without infrastructure
  • πŸ—ΊοΈ GPS & Mapping - Track your location and visualize your world
  • πŸ”§ Hackable by Design - Extend, modify, and make it yours

πŸ› οΈ Supported Hardware

Tested & Verified

πŸ“‹ Requirements

  • AtomVM >= v0.6.6
  • atomgl component (github.com/atomvm/atomgl)
  • Elixir development environment
  • ESP-IDF (for flashing to hardware)

πŸš€ Quick Start

1. Clone the Repository

git clone https://github.com/yourusername/pocketOS.git
cd pocketOS

2. Configure Platform

Edit lib/hal.ex and uncomment your target platform:

# Uncomment the platform you're using:
@platform "t-deck"
# @platform "t-pager"
# @platform "linux"

3. Build the Application

mix deps.get
mix compile

4. Package for AtomVM

mix atomvm.packbeam

5. Flash to Device

# For T-Deck or T-LoRa-Pager (remember: port might be different on your system)
mix atomvm.esp32.flash --port /dev/ttyACM0

6. (Optional) Configure SD Card

Insert a FAT-formatted SD card with optional configuration files:

WiFi Configuration - wifi.sxp:

(
(ssid "myssid")
(psk "mypass")
)

Custom Init Script - init.lsp:

(progn
    [...]
    (quote ok)
)

Note: Follow ESP-IDF limitations for filesystem and SD card compatibility.

🀝 Contributing

We welcome contributions from the community! Whether you're into:

  • 🎨 UI/UX improvements
  • πŸ”§ Hardware support
  • πŸ“‘ Protocol implementations
  • πŸ“š Documentation
  • πŸ› Bug fixes

πŸ“œ License

pocketOS is open source software licensed under the Apache 2.0 License.


Built with ❀️ and Elixir by hackers, for hackers

About

No description, website, or topics provided.

Resources

Stars

28 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages