Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Percslol committed Jan 14, 2025
1 parent 2552955 commit 8188768
Show file tree
Hide file tree
Showing 122 changed files with 19,427 additions and 20,375 deletions.
140 changes: 70 additions & 70 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,84 +3,84 @@ name: CI
on: [push, pull_request, workflow_dispatch]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build Anura
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: sudo apt update
- run: sudo apt install -y git build-essential clang default-jre
- run: git submodule update --init
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- run: source "$HOME/.cargo/env" && make static
build:
name: Build Anura
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: sudo apt update
- run: sudo apt install -y git build-essential clang default-jre
- run: git submodule update --init
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- run: source "$HOME/.cargo/env" && make static

- name: Upload Anura Artifact
uses: actions/upload-artifact@v4
with:
name: Anura static build
path: static/*
retention-days: 90
- name: Upload Anura Artifact
uses: actions/upload-artifact@v4
with:
name: Anura static build
path: static/*
retention-days: 90

upload:
name: Upload release
runs-on: ubuntu-latest
needs: build
permissions: write-all
if: github.ref == 'refs/heads/main'
upload:
name: Upload release
runs-on: ubuntu-latest
needs: build
permissions: write-all
if: github.ref == 'refs/heads/main'

steps:
- name: Delete old release and tag
uses: dev-drprasad/[email protected]
with:
delete_release: true
tag_name: latest
github_token: ${{ github.token }}
steps:
- name: Delete old release and tag
uses: dev-drprasad/[email protected]
with:
delete_release: true
tag_name: latest
github_token: ${{ github.token }}

- name: Get artifacts
uses: actions/download-artifact@v4
with:
name: Anura static build
path: ./static
- name: Get artifacts
uses: actions/download-artifact@v4
with:
name: Anura static build
path: ./static

- name: Zip anura Release
run: cd static && zip -r ../anura.zip . && cd ..
- name: Zip anura Release
run: cd static && zip -r ../anura.zip . && cd ..

- name: Release to GitHub
uses: ncipollo/release-action@v1
with:
name: Continuous Build
tag: latest
commit: main
body: "${{ github.event.head_commit.url }} ${{ github.event.head_commit.message }}"
artifacts: "anura.zip"
prerelease: true
- name: Release to GitHub
uses: ncipollo/release-action@v1
with:
name: Continuous Build
tag: latest
commit: main
body: "${{ github.event.head_commit.url }} ${{ github.event.head_commit.message }}"
artifacts: "anura.zip"
prerelease: true

pages:
name: Upload to Github Pages
runs-on: ubuntu-latest
needs: build
permissions: write-all
if: github.ref == 'refs/heads/main'
steps:
- name: Get artifacts
uses: actions/download-artifact@v4
with:
name: Anura static build
path: ./static
pages:
name: Upload to Github Pages
runs-on: ubuntu-latest
needs: build
permissions: write-all
if: github.ref == 'refs/heads/main'
steps:
- name: Get artifacts
uses: actions/download-artifact@v4
with:
name: Anura static build
path: ./static

- name: upload pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: "./static"
- name: upload pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: "./static"

- name: deploy to github
id: deployment
uses: actions/deploy-pages@v4
- name: deploy to github
id: deployment
uses: actions/deploy-pages@v4
80 changes: 40 additions & 40 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,58 +2,58 @@

- Contributors

- Project Name: @ember3141
- Project Maintainers:
- @ProgrammerIn-wonderland
- @Endercass
- @Percslol
- Large contributors
- Project Name: @ember3141
- Project Maintainers:
- @ProgrammerIn-wonderland
- @Endercass
- @Percslol
- Large contributors

- @CoolElectronics
- @r58playz
- @MadjikDotPng
- @BomberFish
- @CoolElectronics
- @r58playz
- @MadjikDotPng
- @BomberFish

- A full list of contributors can be found [here](https://github.com/MercuryWorkshop/anuraOS/graphs/contributors)
- A full list of contributors can be found [here](https://github.com/MercuryWorkshop/anuraOS/graphs/contributors)

- Libraries and applications sources

- Filesystem base - [Filer.js](https://filer.js.org/)
- Formerly the only filesystem library used in the project, now the default filesystem library and the base of the Anura Filesystem API
- MIME type detection - [mime-db](https://github.com/broofa/mime)
- Service Worker <-> Main Thread communication - [Comlink](https://github.com/GoogleChromeLabs/comlink)
- Service worker library - [Workbox](https://developers.google.com/web/tools/workbox)
- Anura Shell is a heavily modified version of [Puter's Phoenix Shell](https://github.com/HeyPuter/phoenix)
- This shell was implemented so that Anura users could have a more traditional shell experience, and if they had experience with Puter's Phoenix Shell, they could easily transfer that knowledge to Anura.
- Replaces the original Anura Shell, which was a modified eval-based shell.
- JS Framework - [dreamland.js](https://github.com/MercuryWorkshop/dreamlandjs)
- TCP Networking support [wisp-server-node](https://github.com/MercuryWorkshop/wisp-server-node)
- x86 Emulation - [v86](https://copy.sh/v86/)
- Service worker web proxy - [Ultraviolet](https://github.com/titaniumnetwork-dev/Ultraviolet)
- Material Components - [Matter CSS](https://github.com/finnhvman/matter)
- Default networking stack- [libcurl.js with WolfSSL](https://github.com/ading2210/libcurl.js)
- A full list of dependencies can be found [here](https://github.com/MercuryWorkshop/anuraOS/network/dependencies)
- Filesystem base - [Filer.js](https://filer.js.org/)
- Formerly the only filesystem library used in the project, now the default filesystem library and the base of the Anura Filesystem API
- MIME type detection - [mime-db](https://github.com/broofa/mime)
- Service Worker <-> Main Thread communication - [Comlink](https://github.com/GoogleChromeLabs/comlink)
- Service worker library - [Workbox](https://developers.google.com/web/tools/workbox)
- Anura Shell is a heavily modified version of [Puter's Phoenix Shell](https://github.com/HeyPuter/phoenix)
- This shell was implemented so that Anura users could have a more traditional shell experience, and if they had experience with Puter's Phoenix Shell, they could easily transfer that knowledge to Anura.
- Replaces the original Anura Shell, which was a modified eval-based shell.
- JS Framework - [dreamland.js](https://github.com/MercuryWorkshop/dreamlandjs)
- TCP Networking support [wisp-server-node](https://github.com/MercuryWorkshop/wisp-server-node)
- x86 Emulation - [v86](https://copy.sh/v86/)
- Service worker web proxy - [Ultraviolet](https://github.com/titaniumnetwork-dev/Ultraviolet)
- Material Components - [Matter CSS](https://github.com/finnhvman/matter)
- Default networking stack- [libcurl.js with WolfSSL](https://github.com/ading2210/libcurl.js)
- A full list of dependencies can be found [here](https://github.com/MercuryWorkshop/anuraOS/network/dependencies)

- Retired Libraries and applications sources

- Old Websocket to TCP Bridge - [WSProxy](https://github.com/herenow/wsProxy)
- Old Filesystem HTTP bridge - [MercuryWorkshop Nohost](https://github.com/MercuryWorkshop/nohost) (Fork of [Humphd Nohost](https://github.com/humphd/nohost))
- Now the functionality is provided by a fully rewritten version of the original code, using the Anura Filesystem API
- VNC Client [noVNC](https://github.com/novnc/noVNC)
- No longer vendored in this repository, moved to the [Anura App Repository](https://github.com/MercuryWorkshop/anura-repo)
- SSH Client [sshy](https://github.com/stuicey/SSHy)
- No longer vendored in this repository, moved to the [Anura App Repository](https://github.com/MercuryWorkshop/anura-repo)
- Old Websocket to TCP Bridge - [WSProxy](https://github.com/herenow/wsProxy)
- Old Filesystem HTTP bridge - [MercuryWorkshop Nohost](https://github.com/MercuryWorkshop/nohost) (Fork of [Humphd Nohost](https://github.com/humphd/nohost))
- Now the functionality is provided by a fully rewritten version of the original code, using the Anura Filesystem API
- VNC Client [noVNC](https://github.com/novnc/noVNC)
- No longer vendored in this repository, moved to the [Anura App Repository](https://github.com/MercuryWorkshop/anura-repo)
- SSH Client [sshy](https://github.com/stuicey/SSHy)
- No longer vendored in this repository, moved to the [Anura App Repository](https://github.com/MercuryWorkshop/anura-repo)

- Code snippets used

Note: This list is non-exhaustive and may not contain all of the code snippets used in production of this software.
Note: This list is non-exhaustive and may not contain all of the code snippets used in production of this software.

- [original base](https://gist.github.com/chwkai/290488)
- Resizable Table columns in fsapp [codepen](https://codepen.io/adam-lynch/pen/GaqgXP)
- [Calendar panel](https://www.geeksforgeeks.org/how-to-design-a-simple-calendar-using-javascript/)
- [original base](https://gist.github.com/chwkai/290488)
- Resizable Table columns in fsapp [codepen](https://codepen.io/adam-lynch/pen/GaqgXP)
- [Calendar panel](https://www.geeksforgeeks.org/how-to-design-a-simple-calendar-using-javascript/)

- Design & Assets

- UI design inspiration - [Google ChromeOS](https://www.google.com/chromebook/chrome-os/)
- Various icons - [papirus icon theme](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme)
- Various assets - [Google ChromeOS](https://www.google.com/chromebook/chrome-os/)
- UI design inspiration - [Google ChromeOS](https://www.google.com/chromebook/chrome-os/)
- Various icons - [papirus icon theme](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme)
- Various assets - [Google ChromeOS](https://www.google.com/chromebook/chrome-os/)
22 changes: 11 additions & 11 deletions apps/ashell.app/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "Anura Shell",
"type": "auto",
"package": "anura.ashell",
"index": "term.html",
"icon": "term.png",
"wininfo": {
"title": "Terminal",
"allowMultipleInstance": "true",
"width": "680px",
"height": "440px"
}
"name": "Anura Shell",
"type": "auto",
"package": "anura.ashell",
"index": "term.html",
"icon": "term.png",
"wininfo": {
"title": "Terminal",
"allowMultipleInstance": "true",
"width": "680px",
"height": "440px"
}
}
14 changes: 7 additions & 7 deletions apps/ashell.app/term.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!doctype html>
<html>
<head>
<script src="hterm_all.js"></script>
<script src="term.js" type="module"></script>
</head>
<head>
<script src="hterm_all.js"></script>
<script src="term.js" type="module"></script>
</head>

<body style="margin: 0">
<div id="terminal"></div>
</body>
<body style="margin: 0">
<div id="terminal"></div>
</body>
</html>
Loading

0 comments on commit 8188768

Please sign in to comment.