项目 / kolplattformen/skolplattformen

kolplattformen/skolplattformen

行业推荐
语言 TypeScript标签 school-educationappreact-nativecivic-tech数据更新 2026-11-20 06:49:16 · 仓库 2026-11-19

一段话介绍

公民技术项目「Öppna Skolplattformen」的源码仓库,由家长发起,为斯德哥尔摩市学校管理平台另做了一套面向家长和监护人的应用,目标是提供更简单、更快、更一致的使用体验。产品介绍见 [skolplattformen.org](https://skolplattformen.org/)。仓库用 monorepo 组织,应用和网站分别在 `apps` 与 `libs` 目录。本地开发需先安装 git、Node 和 yarn,再按[仓库 README](https://github.com/kolplattformen/skolplattformen)克隆并执行 `yarn`;源文写明默认的 Infomentor(斯德哥尔摩)登录依赖原生 Cookie 存储,不能用 Expo Go,需用 `yarn ios` 或 `yarn android` 配合 expo-dev-client 构建。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
The source code to the civic tech project Öppna Skolplattformen.
810累计星
170Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

政务事项办理与一网通办

适配系统:政务服务平台、工作流引擎 · 得分 1.4

以事项流程编排与表单驱动为核心,可支撑跨部门联办与办件全流程跟踪。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
项目基于 Expo 构建,需先装 git、node 和 yarn。
特点或设计要点
该项目是一个 NX monorepo,内部包含多个应用和库。
局限和适用边界
该项目由对斯德哥尔摩市系统不满的家长自发发起,与斯德哥尔摩市政府无任何隶属关系,初衷只是更方便地阅读校讯和请假登记。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-09-14 · 语言 TypeScript · 贡献者 —
typescript

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 10,460 字节。

Give us a ⭐ if you appreciate what we do!

# Öppna skolplattformen

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
[![Patreon](https://img.shields.io/badge/dynamic/json?color=%23e85b46&label=Patreon&query=data.attributes.patron_count&suffix=%20patrons&url=https://www.patreon.com/api/campaigns/6649731)](https://www.patreon.com/oppnaskolplattformen)
![Vercel](https://therealsujitk-vercel-badge.vercel.app/?app=skolplattformen)
[![Translation status](https://hosted.weblate.org/widgets/skolplattformen/-/svg-badge.svg)](https://hosted.weblate.org/engage/skolplattformen/)
[![Build Status](https://app.bitrise.io/app/8e56bd02bc602da5/status.svg?token=h8gI2dB_jXLurj9EO_fXWw)](https://app.bitrise.io/app/8e56bd02bc602da5)

We are parents who got fed up with Skolplattformen, the City of Stockholm's school administration platform. \ We reverse-engineered the platform's API to create a simpler, faster, more consistent, and secure experience for parents and guardians. If you're simply looking for information about the app, our website can be found at [https://skolplattformen.org/](https://skolplattformen.org/). \
Check out [the changelog](CHANGELOG.md) to see what new features are added, and a list of fixed bugs.

This main repository for the project contains the source code for both the [app](apps/skolplattformen-app) and its [website](https://skolplattformen.org/). \
The sources for each can be found under [apps](apps) and [libs](libs).
The respective README files there contain more detailed descriptions.

<img src="apps/website/assets/img/screenshots/screenshot_login.png" width="200"> <img src="apps/website/assets/img/screenshots/screenshot_children.png" width="200">

## Contents

* [Architecture](#architecture)
  * [Apps](#apps)
    * [skolplattformen](#skolplattformen)
    * [website](#website)
  * [Libs](#embedded-api)
    * [api](#api)
    * [api-skolplattformen](#api-skolplattformen)
    * [api-vklass](#api-vklass)
    * [curriculum](#curriculum)
    * [hooks](#hooks)
* [Getting started with development](#getting-started-with-development)
    * [iOS](#ios)
    * [Android](#android)
    * [Infomentor quick start](#infomentor-quick-start)
    * [Website](#website)
    * [Tests](#tests)
* [Contributions](#contributions)
* [Money](#money)
* [Disclaimer](#disclaimer)
* [Contributors](#contributors)
* [License](#license)

## Architecture

The project consists of several apps and libraries inside [a NX](https://nx.dev/) monorepo.

### Apps
/apps/ contains the application projects. This is the main entry point for a runnable application.

#### skolplattformen

The central part of the project is the app itself. It is written in [TypeScript](https://www.typescriptlang.org/) using [React Native](https://reactnative.dev/) and [React Native Kitten](https://akveo.github.io/react-native-ui-kitten/).

Our main goal with the app is to make it as fast and easy to use as possible. \

We're starting small, with more features being added over time.

For more information, check out the [source code](apps/skolplattformen-app).

#### website

The code for the website at https://skolplattformen.org/. It's built using Next.js.

For more information, check out the [source code](apps/website).
### Libs

/libs/ contains the library projects. There are many different kinds of libraries, and each library defines its own external API so that boundaries between libraries remain clear.

#### api

The base for all api implementations

#### api-vklass

The implementation for the school platform Vklass.

#### api-infomentor

The implementation for the school platform Infomentor.

#### api-skolplattformen

By not having to worry about the complex nature of the official API, the app becomes light-weight. \
It also makes it easier for others to develop their own applications for the Skolplattformen API.

**Pro tip:** If you don't want the API to make requests to the back-end, you can turn on _fake mode_ to return static data instead. \
Do so by logging in using 12121212121212 or 1212121212 as your personal identity number.
Check out the documentation [here](libs/api-skolplattformen).

#### curriculum

Translations of curriculum codes (sv: ämneskoder på schemat) to clear text descriptions

#### hooks

To make it easier to use the the api in the app, we also created a set of React hooks.
Check out the documentation [here](libs/hooks).

## Getting started with Development

To clone and build the project, you first need to install [git](https://git-scm.com/), [node](https://nodejs.org/en/) and [yarn](https://classic.yarnpkg.com/lang/en/docs/install/).

Clone the repo with
```bash
$ git clone https://github.com/kolplattformen/skolplattformen.git
```

Install dependencies
```bash
cd skolplattformen && yarn
```

### Running the app with Expo

This project uses Expo for building and running the app. Make sure you have the Expo CLI installed:

```bash
npm install -g expo-cli
```

#### iOS

To run the iOS app, you need a Mac with Xcode installed.

Start the iOS app:
```bash
yarn ios
```

Or to run in the Expo Go app:
```bash
yarn start
```

#### Android

To run the Android app, you need Android Studio and an Android emulator or device.

Start the Android app:
```bash
yarn android
```

Or to run in the Expo Go app:
```bash
yarn start
```

### Infomentor quick start

Infomentor (Stockholm) is the default school platform in the app. The app requires native cookie storage (`@react-native-cookies/cookies`), so **Expo Go will not work** — build and run with the embedded [expo-dev-client](https://docs.expo.dev/development/introduction/) instead (`yarn ios` / `yarn android`).

To work with Infomentor you need to log in via BankID. For local development you can shortcut that with a **dev session** (the verification order is auto-approved by Stockholm's BankID gateway for a device already registered with BankID — no scan needed):

```bash
# 1. Mint a fresh session (prints a DEV-SESSION line, ~40 min TTL)
cd libs/api-infomentor && npx tsx scripts/e2e-qr-server.ts

# 2. Paste the printed line into apps/skolplattformen-app/.env.local
#    (gitignored — NEVER commit it):
#    EXPO_PUBLIC_INFOMENTOR_DEV_SESSION=ASP.NET_SessionId=...; BIGipServer~...=~...; TS0116cbba=...; IMHome=...

# 3. Restart Metro WITH cache clear (EXPO_PUBLIC_* values are inlined into
#    the bundle at transform time — a plain restart will keep the old value)
npx expo start -c
```

With the dev session in place the app logs in automatically on launch (auto-login fires once per app session; logging out keeps you on the login screen).

Sessions expire after **~40 minutes** — when they do, the hub answers `200 OK` with an **empty body** (and expired/wrong cookies cause a `302` to the login page). Re-run the harness and repeat.

Detailed endpoints, quirks and implementation notes: [libs/api-infomentor/README.md](libs/api-infomentor/README.md).

For AI/agent helpers, [AGENTS.md](AGENTS.md) documents repo conventions and the automated verify loop, plus [.claude/skills](.claude/skills) with ready-made workflows.

### Building for production

To generate native iOS and Android projects:
```bash
yarn prebuild
```

This will create `ios/` and `android/` directories with the native projects.

### Website

Documentation coming soon.

### Tests

Run all tests
```
yarn run test
```

Run a specific test
```
yarn run test:api-skolplattformen
```

## Contributions

We want this project to be a citizen movement. If you find something you think needs fixing, we encourage you to do so yourself, and test it out on your machine first. \
Once done, create a _pull request_ where you explain why we should incorporate your fix into the project. \
If you're new to GitHub, there's a number of excellent guides available, such as [this one on forking projects and making pull requests](https://guides.github.com/activities/forking/).

There are many ways to contribute to the project. \
If you don't know how to program and want help, you can [file an issue](https://github.com/kolplattformen/skolplattformen/issues/new) to let us know when something isn't working properly. \
We're super duper happy for both issues and pull requests, and we try to answer all of them as soon as humanly possible.

Another way to contribute is by helping translate Öppna skolplattformen [on Hosted Weblate](https://hosted.weblate.org/engage/skolplattformen-app/) into a new language, or to improve existing translations.

_Working together leverages available skills and experience in improving the project, ultimately creating the best possible experience_.

## Money

Even if we definitely stand by our claim that libre software doesn't mean gratis, we have now offered it free of charge on both the Apple App Store and on Google Play. With this different model, you can extend your appreciation to all our contributors. Send some köttbullar for the kids through voluntary donations on [https://patreon.com/oppnaskolplattformen](https://patreon.com/oppnaskolplattformen) ❤️.

## Disclaimer

This initiative was started by frustrated parents without any affiliation with the City of Stockholm. \
We just want to find and read newsletters with greater ease, and register sick-leave in a convenient manner.

If you're offended by this initiative, rest assured there is no reason to be — we come in peace.

## Contributors

- [Christian Landgren](https://github.com/irony)
- [Johan Öbrink](https://github.com/JohanObrink)
- [Erik Hellman](https://github.com/ErikHellman)
- [Viktor Sarström](https://github.com/viktorlarsson)
- [Andreas Eriksson](https://github.com/whyer)
- [Kajetan Kazimierczak](https://github.com/kajetan-kazimierczak)
- [Karin Nygårds (artwork)](https://github.com/grishund)
- [Jonathan Edenström](https://github.com/edenstrom)
- [Emil Hellman](https://github.com/archevel)
- You?

## License

Öppna skolplattformen is copyright 2020–2024 Not Free Beer AB.

Licensed under the [Apache License, Version 2.0](LICENSE) (the "License"); you may use Öppna skolplattformen in compliance with the License. A copy of the License is included with this repository.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the [License](LICENSE) for the specific language governing permissions and limitations under the License.
↑