Skip to content
プロジェクト

概要

Go向けのクロスプラットフォームなモバイルUIフレームワーク

その他のプロジェクト

この数値の測り方

計測したスター増加

24時間
+1
7日間
+2
15日間
+2
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Drift logo

Drift

Drift is a cross-platform mobile UI framework. Write your app once in Go, then build native Android and iOS apps via the Drift CLI.

Why Drift?

  • Single codebase - Write once, deploy to Android and iOS
  • Go-native - Use Go's tooling, testing, and ecosystem
  • Skia rendering - Hardware-accelerated graphics (same engine as Chrome and Flutter)
  • No bridge overhead - Direct native compilation, no VM layer
  • iOS builds on Linux - Build iOS apps without a Mac using xtool

Quick Start

# Install the CLI
go install github.com/go-drift/drift/cmd/drift@latest

# Create and run a new project
drift init hello-drift
cd hello-drift
drift run android

Skia binaries are downloaded automatically on first run.

Documentation

Full documentation is available at driftframework.dev:

Showcase

The showcase/ directory contains a demo app with examples of all widgets:

https://github.com/user-attachments/assets/41dcef40-21d1-44bd-adff-56f637ff91e0

cd showcase
drift run android

Repo Layout

Directory Description
cmd/drift CLI commands
pkg/ Runtime, widgets, and rendering
showcase/ Demo application
scripts/ Skia build helpers
third_party/skia Skia source checkout
third_party/drift_skia Skia bridge outputs
SKIA_REV Pinned Skia commit hash

API Stability

Drift follows semantic versioning.

Before v1.0.0: Breaking changes may occur in any release.

After v1.0.0:

  • Deprecated APIs are marked with // Deprecated: use X instead
  • Deprecated APIs remain for at least 2 minor versions
  • Breaking changes only in major versions

Contributing

Contributions are welcome!

License

MIT License. See LICENSE for details.

関連プロジェクトを探す

読み込み中…