GithubHelp home page GithubHelp logo

ericfengfuuuu / wsl2-distro-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bostrot/wsl2-distro-manager

1.0 0.0 2.0 304.16 MB

A GUI to quickly manage your WSL2 instances

Home Page: https://apps.microsoft.com/store/detail/wsl-manager/9NWS9K95NMJB?hl=en-us&gl=US

License: GNU General Public License v3.0

Shell 0.67% C++ 4.10% C 0.16% PowerShell 0.11% Dart 93.09% CMake 1.86%

wsl2-distro-manager's Introduction

Jenkins GitHub Release Date GitHub release (latest by date) GitHub closed issues GitHub

English | 简体中文

A quick way to manage your WSL instances with a GUI.

Made with Flutter and fluent_ui based on Windows design guidelines.

Preview with Darkmode

Here is how it looks in Lightmode if you are into that.

Install

This app is available on the Windows Store.

- or -

as a direct download from the Releases page.

- or -

winget install Bostrot.WSLManager (outdated version)

- or -

choco install wsl2-distro-manager (maintained by @mikeee)

Build

Enable Flutter Desktop flutter config --enable-windows-desktop (https://flutter.dev/desktop)

flutter upgrade

Run with flutter run -d windows and build with flutter build windows

Features

  • List WSL
  • Copy WSL
  • Delete WSL
  • Start WSL
  • Rename WSL
  • Create WSL
  • Download WSL
  • Select rootfs from storage
  • Quick Actions (execute pre-defined scripts directly on your instances for quick configurations)
  • Download and use Turnkey or other LXC containers (experimental, tested with e.g. Turnkey Wordpress)
  • Use your own repository for rootfs' or LXC containers
  • and more...

FAQ

How do I access my Turnkey instance? (e.g. Wordpress)

Turnkey instances can be inited with turnkey-init in console. This will let you choose new passwords for your services.

What does it mean that it installs "fake_systemd" with Turnkey?

As systemd is not officially supported in WSL (yet) fake_systemd is a custom fork from @kvaps specifically for WSL so that Turnkey services will actually startup when opening the instance.

Contribute

You are very welcome to contribute to this project in order to make it better.

Missing distributions

If you find any missing distribution that you think should be added please open a Distro request.

Docs

Currently generated API docs are available. You can find the documentation here.

Code contributions

If you have made a code contribution feel free to open a PR and/or an issue.

Language contributions

Localizations are saved in /lib/i18n/ as json files. New languages can be added either directly in the appropriate json file (e.g. en.json) or via the localizations windows/mac application which provides a GUI.

As of some restrictions with fluent_ui package currently it is easier not to use the country code in the file name so instead of en_US.json just en.json.

Feel free to publish a PR :)

Help

You need more help but the FAQ did not help?

Contact me on Telegram @bostrot_bot.

Or just open an issue here.

Stuff

Create signed msix package

(Only for maintainers with build certificate)

To create a signed msix package set the .githooks directory as your git hooks directory:

git config --local core.hooksPath .githooks/

Then it will update version numbers, build sign and commit everything with the push. This will take the configuration from the file certs/pubspec.yaml and replace the version (xxx in the pubspec.yaml) with the current version from the running pubspec file.

You can also sign it manually by adding the msix config to the end of the pubspec.yaml file and then run flutter pub run msix:create

Why a GUI

WSL is great. It makes it very simple to spin up new workplaces with different systems for the project you need or just testing.

Other

This project is made with Flutter for Desktop :)

wsl2-distro-manager's People

Contributors

bostrot avatar paulovnas avatar xxnuo avatar

Stargazers

 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.