Git Product home page Git Product logo

cosmic's Introduction

Cosmic

Cosmic will be a single binary tool that lets you build apps (UI, Games, CLI) with just Javascript/TS. It will provide a text editor, graphics/animation/ui api, a script runtime and bundler to distribute your app. You won't need any additional tools. There's also plans to create an alternative scripting language called XScript.

Progress

The Cosmic API is subject to change during the Alpha version. After version 1.0, the API will remain backwards compatible until the next major version.

  • Cosmic Alpha version (In progress.)
    • Javascript API (In progress.)
    • Wasm/Wasi API (Not started.)

Along the way we'll build some cool libs for zig!

  • 2D Graphics (Source)
  • UI and animation framework at the native level. (In progress)
  • Javascript/WASM runtime.
  • XScript, a new scripting language for the future. (In progress)
  • General purpose text editor. (In progress)
  • Incremental AST parser and tokenizer. (Source)
  • Bundling/distribution. (Not started.)

Contributing

We will be building the app primarily in Zig. Why Zig When There is Already C++, D, and Rust?

Zig's toolchain is ideal for this project. Even though it has yet to reach 1.0, it's LLVM backend is stable and stage2 is just around the corner.

Get the Zig compiler (0.9.0) at zig.

Once you have zig, checkout and run tests.

git clone https://github.com/fubark/cosmic.git
zig build get-deps
zig build test

Please star the repo and let's do this!

Future

After Cosmic, we'll use what we built to start exploring a different way to browse/interact with the web.

License

Cosmic is free and open source under the MIT License.

cosmic's People

Contributors

fubark avatar

Watchers

James Cloos 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.