Coder Social home page Coder Social logo

Fiedka

This is a work-in-progress version of Fiedka, based on the utk-web prototype with a back-end running in WebAssembly and written in Go.

Release

Development

The app is based on Electron.

You need to have a Node.js runtime and npm installed. For the back-end, you need Go version 1.17 at least. Find them in your respective OS distribution and install them through your package manager, e.g., yay -S go nodejs npm. On NixOS you can get a shell with all dependencies by running nix-shell.

To install the dependencies, run npm install.

For DXE GUIDs, efiXplorer is used as a submodule. Do an initial checkout:

git submodule update --init --checkout

Managing Go dependencies

Due to targeting WebAssembly, we need it to tell the Go compiler to manage modules.

Note: The go.mod file is in src/. Run Go commands in that directory.

To upgrade Fiano, one of Fiedka's core dependencies:

GOOS=js GOARCH=wasm go get github.com/linuxboot/[email protected]

If you want to add a new dependency, run:

GOOS=js GOARCH=wasm go get github.com/foo-org/[email protected]

Note: Running go get may leave inconsistencies in go.mod. Afterwards, always run:

go mod tidy

Running

npm start

Working with a local copy of Fiano

Clone Fiano side by side with Fiedka; i.e., have them like this:

fiano/
fiedka/

A: Using a Go workspace

This requires Go 1.18. Create this symlink: ln -s go.workspace go.work That will tell Go tu use ../fiano instead of github.com/linuxboot/fiano.

Note: go.work is gitignore so that you cannot accidentally commit it.

B: Using a replace directive

Add this line to the bottom of src/go.mod:

replace github.com/linuxboot/fiano => ../../fiano

Be sure never to have this in a PR to Fiedka. Prefer the workspace method.

Releases

Binaries for Linux are published on GitHub.

UEFI

Obtain Test Images

See retrage's nightly OVMF builds.

Download RELEASEX64_OVMF.fd and load it using the file picker.

WebAssembly

WASM issues

Fiedka's Projects

art icon art

Artworks for the Fiedka project, including the octopus mascot

electron-sudo icon electron-sudo

Electron subprocesses with administrative privileges, prompting the user with an OS dialog if necessary.

fiedka icon fiedka

a visual toolkit for exploring and editing firmware images, running on web platforms

me_fs_rs icon me_fs_rs

Intel ME filesystem parser written in Rust :crab:

webpack-golang-wasm-async-loader icon webpack-golang-wasm-async-loader

A webpack loader for generating Golang WebAssembly bundles using an async interaction model for calling the Golang code from JavaScript

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.