搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫inertlabs/frontend

Helium

Helium - 學生計畫器的 Flutter 前端

Helium 專案封面
星標
8
分支
1
最近推送(UTC)
2026年12月2日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

Helium
Helium - Student Planner


Helium is a free, color-coded online student planner for classes, homework, grades, and notes.

Download on the App Store   Get it on Google Play

Support on Patreon


Helium Frontend

Build Code Quality GitHub License

The frontend for Helium - Student Planner, including mobile and web deployments.

Prerequisites

  • Dart & Flutter
  • Android or iOS Emulator
  • ChromeDriver (for Integration Tests)

Development

To build development versions of the app for Android and iOS, execute:

make build-android
make build-ios

To run a development version of the app for web, execute:

make run-devserver

Before commits are made, be sure to also run the checks and tests.

make check
make test
make test-integration

When running a local web version of the project but hitting prod APIs, CORS will need to be disabled by passing a flag like --web-browser-flag=--disable-web-security to Flutter so it starts the browser with this disabled.

Platform API

The backend platform API is served from a separate repository and can be found here. If platform has been provisioned and is running locally, and you would like to run the frontend against the local backend instead of production, run with --dart-define PROJECT_API_HOST=http://localhost:8000, or use PROJECT_API_HOST=http://localhost:8000 make run-devserver.

Note that to reach localhost from within an Android emulator, use 10.0.2.2 instead.

Building Against Your Own Platform

Build variables are passed to Flutter by the Makefile (RELEASE_ARGS). The platform the app talks to is set at build time, with PROJECT_API_HOST. To serve the web app against your own platform, pass its URL when building:

make build-web PROJECT_API_HOST=https://helium-api.example.edu

Or, for the Docker image, --build-arg PROJECT_API_HOST=https://helium-api.example.edu. Without it, the Docker image derives the API host from its own by replacing app. with api., so a host without app. (like helium.example.edu) would call itself; make build-web without it targets http://localhost:8000.

Google, Apple, and Microsoft sign-in go through Firebase. To offer them:

  • Create your own Firebase project and regenerate lib/firebase_options.dart with flutterfire configure --project=<your-project> (make firebase-config targets Helium's)
  • Set the same project's service account on your platform
  • Update the Firebase config in web/firebase-messaging-sw.js (web push)
  • Set FIREBASE_AUTH_DOMAIN when building; otherwise the web app derives it by replacing app. with auth. in its own host, and the mobile apps use Helium's

The sign-in and sign-up screens only show the providers your platform lists in /info/, so without Firebase only email and password sign-in appears.

The mobile apps use the same build variables, but publishing them also means your own app IDs (in place of com.heliumedu.heliumapp), Firebase config files (ios/Runner/GoogleService-Info.plist, android/app/google-services.json), app-link domains (ios/Runner/Runner.entitlements, android/app/src/main/AndroidManifest.xml) and their verification files (web/.well-known/), signing, and store accounts.

Local Docker (Web)

The web app can be built and served locally in Docker as a static SPA on port --web-port=8080.

make

The Docker image serves the built Flutter web assets on http://localhost:8080.

Translations

Translations are done on Crowdin; to help, see TRANSLATING.md. New UI strings go in lib/l10n/app_en.arb, with an @ description only when the text alone doesn't make its use clear.

Inert Labs GitHub avatar
GitHub 作者

Inert Labs ↗

Inert Labs makes focused tools for everyday life that stay out of your way. Creators of Helium, the free, open-source student planner.

United States of America官方網站 ↗
語言DartSwiftShellPythonKotlinMakefileHTMLRubyJavaScriptDockerfileObjective-C

分類

使用的依賴

依賴清單 68 項

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗