weekly

GitHub C# Trending

The latest build: 2024-06-16Source of data: GitHubTrendingRSS

StableSwarmUI, A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility.


StableSwarmUI

StableSwarmUI 0.6.4.1 Beta.

A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility.

ui-screenshot

Join the Discord to discuss the project, get support, see announcements, etc.

Follow the Feature Announcements Thread for updates on new features.

Status

This project is in Beta status. This means for most tasks, Swarm has excellent tooling available to you, but there is much more planned. Swarm is recommended as an ideal UI for most users, beginners and pros alike. There are still some things to be worked out.

Beginner users will love Swarm's primary Generate tab interface, making it easy to generate anything with a variety of powerful features. Advanced users may favor the Comfy Workflow tab to get the unrestricted raw graph, but will still have reason to come back to the Generate tab for convenience features (image editor, auto-workflow-generation, etc) and powertools (eg Grid Generator).

Those interested in helping push Swarm from Beta to a Full ready-for-anything perfected Release status are welcome to submit PRs (read the Contributing document first), and you can contact us here on GitHub or on Discord. I highly recommended reaching out to ask about plans for a feature before PRing it. There may already be specific plans or even a work in progress.

Key feature targets not yet implemented:

  • Better mobile browser support
  • full detail "Current Model" display in UI, separate from the model selector (probably as a tab within the batch sidebar?)
    • And a way to dynamically shift tabs around between spots for convenience / layout customization
  • LLM-assisted prompting
  • convenient direct-distribution of Swarm as a program (Electron app?)

Try It On Google Colab or Runpod

Google Colab

WARNING: Google Colab does not necessarily allow remote WebUIs, particularly for free accounts, use at your own risk.

Colab link if you want to try Swarm: https://colab.research.google.com/github/Stability-AI/StableSwarmUI/blob/master/colab/colab-notebook.ipynb

Runpod

Runpod template (note: maintained by third party contributor nerdylive123): https://runpod.io/console/deploy?template=u7mlkrmxq3&ref=c6jd6jj0

Note it may take several minutes to start up the first time. Check the container logs to see setup progress. Check the template ? info for hint on how to use.

Installing on Windows

Note: if you're on Windows 10, you may need to manually install git and DotNET 8 first. (Windows 11 this is automated).

  • Download The Install-Windows.bat file, store it somewhere you want to install at (not Program Files), and run it.
    • It should open a command prompt and install itself.
    • If it closes without going further, try running it again, it sometimes needs to run twice. (TODO: Fix that)
    • It will place an icon on your desktop that you can use to re-launch the server at any time.
    • When the installer completes, it will automatically launch the StableSwarmUI server, and open a browser window to the install page.
    • Follow the install instructions on the page.
    • After you submit, be patient, some of the install processing take a few minutes (downloading models and etc).

(TODO): Even easier self-contained pre-installer, a .msi or .exe that provides a general install screen and lets you pick folder and all.

Alternate Manual Windows Install

Installing on Linux

  • Install git, python3 via your OS package manager if they are not already installed (make sure to include pip and venv on distros that do not include them in python directly)

    • For example, on recent Ubuntu versions, sudo apt install git python3-pip python3-venv
  • Download the install-linux.sh file, store it somewhere you want to install at, and run it

    • If you like terminals, you can open a terminal to the folder and run the following commands:
      • wget https://github.com/Stability-AI/StableSwarmUI/releases/download/0.6.1-Beta/install-linux.sh -O install-linux.sh
      • chmod +x install-linux.sh
  • Run the ./install-linux.sh script, it will install everything for you and eventually open the webpage in your browser.

  • Follow the install instructions on-page.

  • You can at any time in the future run the launch-linux.sh script to re-launch Swarm.

  • If the page doesn't open itself, you can manually open http://localhost:7801

Alternate Manual Linux Install

  • Install git, python3 via your OS package manager if they are not already installed (make sure to include pip and venv on distros that do not include them in python directly)
    • For example, on recent Ubuntu versions, sudo apt install git python3-pip python3-venv
  • Install DotNET 8 using the instructions at https://dotnet.microsoft.com/en-us/download/dotnet/8.0 (you need dotnet-sdk-8.0, as that includes all relevant sub-packages)
    • Some users have said that certain Linux distros expect aspnet-runtime to be installed separately
  • Open a shell terminal and cd to a directory you want to install into
  • Run shell commands:
    • git clone https://github.com/Stability-AI/StableSwarmUI
    • cd StableSwarmUI
    • ./launch-linux.sh
  • open http://localhost:7801/Install (if it doesn't launch itself)
  • Follow the install instructions on-page.

(TODO): Maybe outlink a dedicated document with per-distro details and whatever. Maybe also make a one-click installer for Linux?

Installing on Mac

Note: You can only run StableSwarmUI on Mac computers with M1 or M2 (Mx) Apple silicon processors.

  • Open Terminal.
  • Ensure your brew packages are updated with brew update.
  • Verify your brew installation with brew doctor. You should not see any error in the command output.
  • Install .NET for macOS: brew install dotnet.
  • If you don't have Python, install it: brew install [email protected] and brew install virtualenv
  • Change the directory (cd) to the folder where you want to install StableSwarmUI.
  • Clone the StableSwarmUI GitHub repository: git clone https://github.com/Stability-AI/StableSwarmUI.
  • cd StableSwarmUI and run the installation script: ./launch-macos.sh.

The installation starts now and downloads the Stable Diffusion models from the internet. Depending on your internet connection, this may take several minutes. Wait for your web browser to open the StableSwarmUI window.

During the StableSwarmUI installation, you are prompted for the type of backend you want to use. For Mac computers with M1 or M2, you can safely choose the ComfyUI backend and choose the Stable Diffusion XL Base and Refiner models in the Download Models screen.

Running with Docker

  • To forward an Nvidia GPU, you must have the Nvidia Container Toolkit installed: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
  • Open a shell terminal and cd to a directory you want to install into
  • Run shell commands:
    • git clone https://github.com/Stability-AI/StableSwarmUI
    • cd StableSwarmUI
    • ./launch-docker.sh
    • Open your browser to localhost:7801
  • Note that it will forward the Models and Output directory, and will mount Data and dlbackend as independent persistent volumes.

Documentation

See the documentation folder.

Motivations

The "Swarm" name is in reference to the original key function of the UI: enabling a 'swarm' of GPUs to all generate images for the same user at once (especially for large grid generations). This is just the feature that inspired the name and not the end all of what Swarm is.

The overall goal of StableSwarmUI is to a be full-featured one-stop-shop for all things Stable Diffusion.

See the motivations document for motivations on technical choices.

Legal

This project:

StableSwarmUI itself is under the MIT license, however some usages may be affected by the GPL variant licenses of connected projects list above, and note that any models used have their own licenses.

License

The MIT License (MIT)

Copyright (c) 2024 Stability AI

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

A powerful tool for managing networks and troubleshoot network problems!


NETworkManager Preview

NETworkManager

A powerful open source tool for managing networks and troubleshooting network problems!

Connect and manage remote systems with Remote Desktop, PowerShell, PuTTY, TigerVNC or AWS (Systems Manager) Session Manager. Analyze and troubleshoot your network and systems with features such as the WiFi Analyzer, IP Scanner, Port Scanner, Ping Monitor, Traceroute, DNS lookup or LLDP/CDP capture (and many more) in a unfied interface. Hosts (or networks) can be saved in (encrypted) profiles and used across all features.

All releases

All releasesLatest releaseLatest pre-release

GitHub starsGitHub forks

AppVeyorAppVeyor

TransifexFeature requestBug report

DownloadChangelogDocumentationContributingBuildLicense

NETworkManager Preview

Download

Pre-built and signed binaries (setup, portable and archive) are available on the download page with install instructions (e.g. silent install). The files are provided via GitHub releases.

In addition, NETworkManager is also available through the following package managers

  • Chocolatey

    # Install via Chocolateychoco install networkmanager
  • WinGet

    # Install via WinGetwinget install BornToBeRoot.NETworkManager
  • Evergreen

    # Get release via EvergreenGet-EvergreenApp -Name NETworkManager# Get release via Evergreen and save the setup file to diskGet-EvergreenApp -Name NETworkManager | Save-EvergreenApp -Path C:\Users\$env:Username\Downloads\

    Evergreen PowerShell module: https://github.com/aaronparker/evergreen

Changelog

You can find the changelog for each version of NETworkManager here.

Documentation

The documentation is provided with Docusaurus via GitHub pages and can be found here.

Contributing

Want to contribute to NETworkManager? Here are a few information on how to get started:

A list of all contributors can be found here.

This project has adopted the code of conduct defined by the Contributor Covenant.

Build

You can build the application like any other .NET / WPF application on Windows.

  1. Make sure that the following requirements are installed:

    • .NET 8.x - SDK
    • Visual Studio 2022 with .NET desktop development and Universal Windows Platform development
  2. Clone the repository with all submodules:

    # Clone the repositorygit clone https://github.com/BornToBeRoot/NETworkManager# Navigate to the repositorycd NETworkManager# Clone the submodulesgit submodule update --init
  3. Open the project file .\Source\NETworkManager.sln with Visual Studio or JetBrains Rider to build (or debug) the solution.

    ALTERNATIVE

    With the following commands you can directly build the binaries from the command line:

    dotnet restore .\Source\NETworkManager.slndotnet build .\Source\NETworkManager.sln --configuration Release --no-restore

Thanks

Thanks to everyone helping to improve NETworkManager by contributing code, translations, bug reports, feature requests, documentation, and more.

We would like to thank the following people and companies for their support of this open source project:

AppVeyorCI/CD service for Windows, Linux and macOS
GitHub PagesWebsites for you and your projects
ip-api.comIP Geolocation API (free for non-commercial use)
JetBrainsProviding a license for JetBrains Rider and other tools
SignPath FoundationFree code signing certificates for open source projects
SignPath.ioFree code signing service for open source projects
TransifexLocalization platform

NETworkManager uses the following projects and libraries. Please consider supporting them as well (e.g., by starring their repositories):

#SNMP LibrarySNMP library for .NET
AirspaceFixerAirspacePanel fixes all Airspace issues with WPF-hosted Winforms.
ControlzExShared Controlz for WPF and more
DnsClient.NETPowerful, high-performance open-source library for DNS lookups
DocusaurusEasy to maintain open source documentation websites.
DragablzTearable TabControl for WPF
IPNetwork.NET library for complex network, IP, and subnet calculations
LoadingIndicators.WPFA collection of loading indicators for WPF
MahApps.Metro.IconPacksAwesome icon packs for WPF and UWP in one library
MahApps.MetroUI toolkit for WPF applications
NetBeauty2Move .NET app runtime components and dependencies into a sub-directory
PSDiscoveryProtocolPowerShell module for LLDP/CDP discovery

Code Signing Policy

NETworkManager uses free code signing provided by SignPath.io and a free code signing certificate from SignPath Foundation.

The binaries and installer are built on AppVeyor directly from the GitHub repository. Build artifacts are automatically sent to SignPath.io via webhook, where they are signed after manual approval by the maintainer. The signed binaries are then uploaded to the GitHub releases page.

Privacy Policy

This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.

NETworkManager has integrated the following services for additional functions, which can be enabled or disabled at the first start (in the welcome dialog) or at any time in the settings:

  • api.github.com (Check for program updates)
  • ipify.org (Retrieve the public IP address used by the client)
  • ip-api.com (Retrieve network information such as geo location, ISP, DNS resolver used, etc. used by the client)

License

NETworkManager is published under the GNU General Public License v3.

The licenses of the libraries used can be found here.

The core infrastructure backend (API, database, Docker, etc).


Bitwarden

Github Workflow build on mainDockerHubgitter chat


The Bitwarden Server project contains the APIs, database, and other core infrastructure items needed for the "backend" of all bitwarden client applications.

The server project is written in C# using .NET Core with ASP.NET Core. The database is written in T-SQL/SQL Server. The codebase can be developed, built, run, and deployed cross-platform on Windows, macOS, and Linux distributions.

Developer Documentation

Please refer to the Server Setup Guide in the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.

Deploy

docker

You can deploy Bitwarden using Docker containers on Windows, macOS, and Linux distributions. Use the provided PowerShell and Bash scripts to get started quickly. Find all of the Bitwarden images on Docker Hub.

Full documentation for deploying Bitwarden with Docker can be found in our help center at: https://help.bitwarden.com/article/install-on-premise/

Requirements

These dependencies are free to use.

Linux & macOS

curl -s -L -o bitwarden.sh \ "https://func.bitwarden.com/api/dl/?app=self-host&platform=linux" \ && chmod +x bitwarden.sh./bitwarden.sh install./bitwarden.sh start

Windows

Invoke-RestMethod -OutFile bitwarden.ps1 ` -Uri "https://func.bitwarden.com/api/dl/?app=self-host&platform=windows".\bitwarden.ps1 -install.\bitwarden.ps1 -start

We're Hiring!

Interested in contributing in a big way? Consider joining our team! We're hiring for many positions. Please take a look at our Careers page to see what opportunities are currently open as well as what it's like to work at Bitwarden.

Contribute

Code contributions are welcome! Please commit any pull requests against the main branch. Learn more about how to contribute by reading the Contributing Guidelines. Check out the Contributing Documentation for how to get started with your first contribution.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file. We also run a program on HackerOne.

No grant of any rights in the trademarks, service marks, or logos of Bitwarden is made (except as may be necessary to comply with the notice requirements as applicable), and use of any Bitwarden trademarks must comply with Bitwarden Trademark Guidelines.

Dotnet-format

Consider installing our git pre-commit hook for automatic formatting.

git config --local core.hooksPath .git-hooks