百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

DejaOS

> 编程语言
开源

JavaScript 嵌入式设备中的运行时环境

387 stars0 点赞6 次浏览
访问官网GitHub

工具介绍

JavaScript 嵌入式设备中的运行时环境

English| 中文

Deja OS

Overview

Introduction

dejaOS is a JavaScript runtime environment designed for embedded devices, enabling low-cost, low-spec smart devices to run JavaScript code. It uses JavaScript as the development language, reducing costs and simplifying development. It make embedded application development easier. It has already shown excellent performance in various IoT scenarios.

Technical Background

dejaOS is built on the foundations of Mip/ARMLinux, QuickJS, and LVGL, enhancing development efficiency while maintaining high runtime performance.

  • Mip/ARMLinux:Embedded Linux with system processes, threads, and resource scheduling capabilities.
  • Quickjs:A compact and fast JavaScript engine that supports the ES2020 standard.
  • LVGL:The most popular free open-source embedded graphics library, allowing easy creation of beautiful UIs using C, while dejaOS enables development with JavaScript.

Rich Features

dejaOS provides a comprehensive set of JavaScript Module, including:

  • Hardware Interface Module: GPIO, PWM, UART, RS-485, RS-232, USB, Wiegand, Watchdog, Capturer, ALSA, NFC, QRCode, BLE, Face Recognition, etc.
  • Networking and Communication Protocol Module: Net, TCP, TCP Server, MQTT, UDP, HTTP, Web Server, OSDP, etc.
  • Graphics Module: Supports drawing GUI screens using JavaScript, compatible with all LVGL native capabilities.
  • Utility Module: Threads, encryption/decryption, logging, EventBus, NTP, SQLite, etc.
  • Third-Party Module: Supports using pure JavaScript third-party module with import (ESM).
  • Native C Library Support: Allows development through embedded native C libraries wrapped in JavaScript.

Development Process

The development process for dejaOS app is as follows:

Prepare Development Environment

  • Software Environment: Install Node.js (20+), VSCode, and DejaOSIDE (VSCode plugin) on your computer.
  • Hardware Environment: Currently, dejaOS is compatible with various smart devices primarily based on Ingenic and EeasyTech chips, with more being added continuously.

Prepare the Device

  1. Purchase a development device.
  2. Connect the development device to VSCode using a USB cableConnect the development device to VSCode using a USB cable.

Quick Start

  • Write your first application in JavaScript code on VSCode, sync to the device in real time to see the effect, and view the run log on VSCode.

Build and Publish

  1. Purchase production devices.
  2. Build a DPK installation package in VSCode.
  3. Use the DPK installation tool to install it on the production devices via serial connection.

Project structure

The main body of the project consists of five parts, as follows:

File Required Function
.temp NO Store temporary files
dxmodules NO Store dependent files
src YES Project logic
main.js YES Project entry file
app.dxproj YES Project configuration file

For a complete description of the project structure, please refer to Introduction to dejaOS Project Structure

Services For more information, please refer to https://dejaos.com If you have any questions,contact us [email protected] and let us know how we can help.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言