GithubHelp home page GithubHelp logo

h13-0 / ghost Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 3.28 MB

An amazing watch.

License: GNU Affero General Public License v3.0

C 91.28% CMake 2.23% C++ 4.42% Python 2.06% PowerShell 0.01%

ghost's Introduction

Ghost

An amazing watch.

Release version License

Functions and tasks

  • Basic software framework.
    • Support lvgl.
    • Ghost package manager.
    • Ghost clock.
    • Ghost thread.
    • Ghost file system.
    • Ghost safe lvgl.
    • Ghost log.
    • Ghost launcher.
    • Ghost Theme manager.
    • Ghost Power manager.
    • lua interpreter.
  • Basic function realization.
    • Basic clock function.
    • Built in applications.
      • Calculator.
      • Health.
    • Built in games.
      • Flappy bird.
  • Ghost installable application support.
    • Authority manager.
  • PCB and BOM.
    • Migrate to esp-idf.
  • Mechanical structure.

Available platforms

This project is recommended to be used in MCU or SOC of 32-bit or above.

  • Windows/Linux Qt simulator.
  • esp32s3.
  • Linux frame buffer.

Windows/Linux Simulator

Development documentation
WindowsSimulator.jpg

Build

git clone --recursive https://github.com/h13-0/Ghost.git

Open in visual studio in folder Ghost and build.
Note that QT needs to be deployed before running.
Enter the directory of WindowsSimulator.exe, and open Powershell(not cmd).

Deactivate FUCKING anaconda.
conda deactivate

Deploy Qt environment.

windeployqt WindowsSimulator.exe

Mount file system.

New-Item -ItemType SymbolicLink -Path .\Ghost -Target ..\..\..\Mount\

Now you can run the Qt Simulator.

esp32s3

Will launch soon(perhaps).

ghost's People

Contributors

h13-0 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

anghd

ghost's Issues

[Todo]: Use recursive locks instead of some mutexes.

Type of Todo-task.

  • Potential problems check.
  • Bugs fix.
  • New features.

Description or reproduction method of potential problems and bugs, or description of new features(Please try one issue per question).

As the title.

Suggested solution.

No response

[Todo]: Built in app suggestions-Arduboy2.

Type of Todo-task.

  • Potential problems check.
  • Bugs fix.
  • New features.

Description or reproduction method of potential problems and bugs, or description of new features(Please try one issue per question).

Plan to optional built-in Arduboy2.

Suggested solution.

No response

[Todo]: Optimize the `GhostAppOpenFile` of the `ApplicationManager`

Type of Todo-task.

  • Potential problems check.
  • Bugs fix.
  • New features.

Description or reproduction method of potential problems and bugs, or description of new features(Please try one issue per question).

Some features on file path and access management.

When app uses function a to open a file and pass parameters, starting with ~ means to open the file with the relative path of app, and starting with / means to open the file with the absolute path. Invalid if it starts with another form.

Draft of some features

  1. If the file path starts with ~, you can only access the files under the current app.
  2. If the file path starts with /, you can access the files in the sdcard or root directory.
  3. All apps with file access rights can read and write files in the sdcard directory.
  4. All apps can read and write files in relative paths.
  5. The root directory file can be read only when the app has the permission GhostAppPermissionsNativeApplication.
  6. The root directory file can be read and written only when the app has the permission GhostAppPermissionsRoot.
  7. Ordinary apps are only allowed to use absolute paths (with GhostAppPermissionsNormalUser).

Suggested solution.

None.

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.