Giter Club home page Giter Club logo

anuraos2's Introduction

AnuraOS logo AnuraOS logo

The next-gen webOS and development environment with full Linux emulation.


What is AnuraOS?

An entirely local browser-based "OS" and development environment with complete graphical Linux emulation, visually based on ChromiumOS. See a demo here, fully in your browser.

Warning

Anura OS has only been extensively tested on Chromium and Safari. Although nearly everything should work on Firefox, you may run into problems with instability.

Anura uses the features of a PWA (Progressive Web App) to make its environment work fully offline, providing a virtual filesystem (synced with the Linux emulator), a code editor, and a modular and extensible app system. You can even edit Anura's code live while inside of it!

Anura shows as more of a proof-of-concept with what's possible on the modern web rather than an actual product. However, it proves useful in many actual cases and is a useful educational tool.

Development

Important

Anura will not build on Windows. Please use a Linux VM or WSL.

Easy Install for GitHub Codespaces

  • Run bash codespace-basic-setup.sh

Note

  • If you are not in a codespace skip to the regular installation steps.
  • This does NOT build RootFS.

Dependencies

  • Recent versions of node.js and npm
  • wget
  • A recent version of java
  • inotifytools
  • rustup
  • make
  • gcc (or any other C compiler)

Note

You will have to install the required Rust toolchain by running rustup target add wasm32-unknown-unknown.

Building

  • Clone the repository with git clone --recursive https://github.com/MercuryWorkshop/anuraOS
  • Then, make all

Tip

You can use make all -B instead if you want to force a full build.

Building the Linux RootFS

  • Make sure you have Docker installed and running.
  • Run make rootfs
  • Make sure to add yourself to the Docker group using usermod -a -G docker $USER
  • (Special Use Case) In the event that you should need to override/manually add the initrd and kernel, remember to keep track of the file names of initrd and vmlinuz in build/images/(rootfs)-boot/. Then, copy them to the Anura root directory and rename them to initrd.img and bzimage respectively.(See the extended instructions here.)

Running Anura Locally

You can run Anura with the command

make server

Or, run authenticated with

cd server
npm start -- --auth

Anura should now be running at localhost:8000.

App Development

App development is highly encouraged! Good apps can even be added to the official workstore after review by an AnuraOS maintainer. Apps are stored in .app files which are read by AnuraOS to provide you, well, an app!

For more information about developing an AnuraOS app visit here.

Documentation

Still being written. (See the current index of documentation here)

Security

See SECURITY.md for reporting instructions.

Credits

AnuraOS is created by Mercury Workshop. Linux emulation is based off of the v86 project. For more credits, see CREDITS.MD.

(p.s. for hackers: the entrypoint to anura is src/Boot.tsx)

anuraos2's People

Contributors

programmerin-wonderland avatar velzie avatar percslol avatar endercass avatar markrosenbaum avatar r58playz avatar madjikdotpng avatar scoder12 avatar e9x avatar wearrrrr avatar pogo-bash avatar thememesniper avatar luphoria avatar averagejuliet avatar bomberfish avatar co1acraft avatar ading2210 avatar foxmoss avatar kxtzownsu avatar motortruck1221 avatar incognitotgt avatar cattn avatar entrpix avatar builtbyvys 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.