github

versotile-org / verso

  • вторник, 13 августа 2024 г. в 00:00:03
https://github.com/versotile-org/verso

A web browser that plays old world blues to build new world hope



Verso

project chat

A web browser that plays old world blues to build new world hope.

Verso is a web browser built on top of Servo web engine. It's still under development. We don't accept any feature request at the moment. But if you are interested, feel free to help test it.

Usage

Getting Started

Windows

  • Install scoop and then install other tools:
scoop install git python llvm cmake curl
pip install mako

You can also use chocolatey to install if you prefer it.

  • Build & run:
cargo run

MacOS

brew install cmake pkg-config harfbuzz
pip install mako
  • Build & run:
cargo run

Linux

Flatpak

For unified environment setup and package experience, we choose Flatpak to build the project from the start. Please follow the Flatpak Setup page to install Flakpak based on your distribution.

  • Install flatpak runtimes and extensions:
flatpak install flathub org.freedesktop.Platform//23.08
flatpak install flathub org.freedesktop.Sdk//23.08
flatpak install flathub org.freedesktop.Sdk.Extension.rust-stable//23.08
flatpak install flathub org.freedesktop.Sdk.Extension.llvm18//23.08
  • Generate manifests and build: // TODO Exporting to a repository instead
python3 ./flatpak-cargo-generator.py ./Cargo.lock -o cargo-sources.json
flatpak-builder --user --install --force-clean target org.versotile.verso.yml
flatpak run org.versotile.verso

Nix

We also support building Verso in nix shell. But we don't bundle it in nix at the moment.

  • For NixOS:
nix-shell shell.nix --run 'cargo r'
  • For non-NixOS distributions:
nix-shell shell.nix --run 'nixGL cargo r'

If you prefer to build the project without any sandbox, please follow the instructions in Servo book to bootstrap. But please understand we don't triage any build issue without flatpak or nix setup.

Nightly Release

Nightly releases built with CrabNebula Cloud can be found at releases.

Packages are unsigned currently. If you have problem opening the app on macOS, try xattr -d com.apple.quarantine /Applications/verso.app after installation.

Future Work

  • Multi-window support.
  • Enable multiprocess mode.
  • Enable sandbox in all platforms.
  • Enable Gstreamer feature.