搜索插件、代码仓与 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 ↗