百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

stremio-service

> 编程语言
开源

Stremio 服务) 功能 - 默认功能 - 无 - 附带 - 使用已安装(且附带)应用程序的二进制文件位置。 下载…

317 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Stremio 服务) 功能 - 默认功能 - 无 - 附带 - 使用已安装(且附带)应用程序的二进制文件位置。 下载…

Stremio Service

)

Features

  • default features - none
  • bundled - uses binaries location for an installed(and bundled) application.

Download

You can find the Stremio Service packages in the releases asset files or by using one of the following urls:

  • MacOS: https://dl.strem.io/stremio-service/v0.1.21/StremioService.dmg
  • Windows: https://dl.strem.io/stremio-service/v0.1.21/StremioServiceSetup.exe
  • Debian: https://dl.strem.io/stremio-service/v0.1.21/stremio-service_amd64.deb
  • Redhat: https://dl.strem.io/stremio-service/v0.1.21/stremio-service_x86_64.rpm
  • Flatpak: https://dl.flathub.org/repo/appstream/com.stremio.Service.flatpakref

Development

bash
git clone --recurse-submodules https://github.com/Stremio/stremio-service

Requirements

Windows

Download & Install Inno Setup.

Ubuntu

bash
apt install build-essential pkg-config libgtk-3-dev libssl-dev libayatana-appindicator3-dev
cargo install cargo-deb

Fedora

bash
dnf install gtk3-devel
cargo install cargo-generate-rpm

MacOS

bash
npm install -g create-dmg && brew install graphicsmagick imagemagick

Run

By default the stremio-service binary is ran with info log level:

bash
RUST_LOG=info cargo run

Build

bash
cargo build --release

Package

Windows

Build the binaries on Windows in release using the bundled feature.

bash
cargo build --release --features=bundled

Run the Inno Setup compiler ISCC command inside Command Prompt or PowerShell against the StremioService.iss script. Depending on your installation the path to IISC may vary. Here is an example with the default installation path, presuming your current working directory is the project's root:

powershell
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "setup\StremioService.iss"

If you use PowerShell you need to prepend & in the beginning of the line. A new executable should be produced - StremioServiceSetup.exe

Cross-compilation from Linux
  1. For cross-compiling on Linux, you need to add the x86_64-pc-windows-gnu target:
bash
rustup target add x86_64-pc-windows-gnu
  1. And build the binary using the bundled feature:
bash
cargo build --release --target x86_64-pc-windows-gnu --features=bundled

NOTE: The Windows installed can not be built on other platforms, only Windows.

Ubuntu

bash
cargo deb

Fedora

bash
cargo build --release --features=bundled
strip -s target/release/stremio-service
cargo generate-rpm

Flatpak

The Manifest is located com.stremio.Service.json and you can bundle the application using the script:

bash
./flatpak/build.sh

MacOS

Use either cargo run --bin bundle-macos or its alias cargo macos to build the MacOS .app and then build the dmg package:

bash
cargo macos && create-dmg --overwrite target/macos/*.app target/macos

Releasing new version

Release

  1. Bump version and update Flatpak
  • Bump version in Cargo.toml
  • Flatpak packages - necessary to add the new version and it's date to the com.stremio.Service.appdata.xml file.
  • Commit Cargo.toml, Cargo.lock and resources/com.stremio.service.metainfo.xml.
  1. Make a new tag

git tag -a v0.XX.XX -m "Service v0.XX.XX"

  1. Push it to the repo

git push -u origin v0.XX.XX

  1. The release workflow will be triggered

Manual

The generate_descriptor.js script is used to generate new version descriptor and upload it to s3. This script is automatically called in the release workflows for Mac OS and Windows. The default behavior is to find the latest artifacts and generate a release candidate descriptor.

Quick release example

Assuming the release actions finished successfully there will be already a release candidate descriptor. It can be tested by running the service with the --release-candidate argument and it should update. If so invoking the generate_descriptor.js script with --release flag will publish the descriptor to the release channel:

powershell
C:\stremio-service> node .\generate_descriptor.js --tag=v0.1.0 --release
Descriptor for tag v0.1.0 already exists in the RC folder. Moving it to the releases folder
Done
C:\stremio-service>

Detailed description

In order to run the script the AWS Command Line Interface must be installed on the system and properly configured with credentials that have write permissions to the bucket.

If the --release flag is passed the release candidate is copied to the releases destination thus releasing a new version. If there is no release candidate yet for some reason a new release descriptor is generated skipping the candidate.

With the --tag="vX.X.X..." argument the script creates a descriptor for the given tag. If there is already released a descriptor for that tag the script exits with an error unless the --force flag is set. In this case new descriptor is always generated and the old is overwritten.

By default the script generates a descriptor as long as at least one file is built for the given tag. If the --wait-all flag is set the script will exit successfully but it will do nothing unless all the installers for the supported platforms are present. This option is used in the CI to reduce the load.

For testing purposes there is also a --dry-run flag. If you use it the descriptor will be generated and printed to the terminal. This flag should work even with read only AWS credentials. Here is an example of the -dry-run flag:

…

If the --quiet flag is used together with --dry-run only the descriptor is printed to STDOUT. In case of error the error is printed to STDERR and STDOUT is blank.

License

GPL-2.0 LICENSE.md

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言