MCPcopy Index your code
hub / github.com/bottlesdevs/Bottles

github.com/bottlesdevs/Bottles @64.1 sqlite

repository ↗ · DeepWiki ↗ · release 64.1 ↗
1,836 symbols 7,708 edges 220 files 514 documented · 28%
README


Bottles

Run Windows Software on Linux

Flathub


Documentation · Forums · Discord · Funding

Bottles DarkBottles Light

Installation

Download on Flathub

Contributing

Refer to the Contributing page.

Building

⚠️ Be sure to backup all your data before testing experimental builds of Bottles!

There are two methods to build Bottles. The first and longer method is using org.flatpak.Builder, and the second but shorter method is building directly.

org.flatpak.Builder

  1. Install org.flatpak.Builder from Flathub
  2. Clone https://github.com/bottlesdevs/Bottles.git (or your fork)
  3. Run flatpak run org.flatpak.Builder --install --install-deps-from=flathub --default-branch=master --force-clean build-dir build-aux/com.usebottles.bottles.Devel.json in the terminal from the root of the repository (use --user if necessary)
  4. Run flatpak run com.usebottles.bottles.Devel to launch it

Meson

Since Bottles is primarily and officially distributed as a Flatpak, we only provide instructions to directly build it inside a Flatpak environment:

  1. Download and install the latest build of Bottles: bottles-x86_64.zip. Unzip it, and run flatpak install bottles.flatpak (use --user if necessary)
  2. Run flatpak run -d --filesystem=$PWD --command=bash com.usebottles.bottles.Devel from the root of the repository, followed by ./build-aux/install.sh. This will build Bottles and install it under the build/ directory.
  3. Run ./build/bin/bottles to launch Bottles

Due to GNOME Builder limitations, Builder cannot build Bottles for the time being; see GNOME/gnome-builder#2061 for more context. This is the best workaround we can provide.

Code of Conduct

This project follows the GNOME Code of Conduct. You are expected to follow it in all Bottles spaces, such as this repository, the project's social media, messenger chats and forums. Bigotry and harassment will not be tolerated.

Sponsors

           

Core symbols most depended-on inside this repo

connect
called by 393
bottles/backend/state.py
get
called by 272
bottles/backend/managers/data.py
get
called by 242
bottles/frontend/utils/playtime.py
info
called by 168
bottles/backend/logger.py
error
called by 124
bottles/backend/logger.py
write
called by 87
bottles/backend/managers/journal.py
items
called by 86
bottles/backend/models/vdict.py
warning
called by 85
bottles/backend/logger.py

Shape

Method 1,457
Class 240
Function 139

Languages

Python100%

Modules by API surface

bottles/backend/managers/manager.py65 symbols
bottles/frontend/views/bottle_details.py61 symbols
bottles/frontend/windows/window.py41 symbols
bottles/frontend/views/preferences.py41 symbols
bottles/frontend/widgets/program.py39 symbols
bottles/frontend/views/bottle_preferences.py36 symbols
bottles/backend/models/vdict.py35 symbols
bottles/frontend/views/new_bottle_dialog.py30 symbols
bottles/backend/state.py30 symbols
bottles/backend/managers/dependency.py28 symbols
bottles/backend/managers/playtime.py27 symbols
bottles/frontend/windows/envvars.py25 symbols

Dependencies from manifests, versioned

FVS0.3.4 · 1×
Markdown3.7 · 1×
PyGObject3.50.0 · 1×
PyYAML6.0.2 · 1×
certifi2024.8.30 · 1×
chardet5.2.0 · 1×
charset-normalizer3.3.2 · 1×
freezegun1.5.1 · 1×
icoextract0.1.5 · 1×
idna3.10 · 1×
mypy1.11.2 · 1×
orjson3.10.7 · 1×

For agents

$ claude mcp add Bottles \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact