Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nextcloud/neon
A framework for building convergent cross-platform Nextcloud clients using Flutter.
https://github.com/nextcloud/neon
dart flutter hacktoberfest nextcloud
Last synced: about 1 month ago
JSON representation
A framework for building convergent cross-platform Nextcloud clients using Flutter.
- Host: GitHub
- URL: https://github.com/nextcloud/neon
- Owner: nextcloud
- License: other
- Created: 2022-01-11T16:02:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T12:47:49.000Z (7 months ago)
- Last Synced: 2024-04-14T01:00:36.801Z (7 months ago)
- Topics: dart, flutter, hacktoberfest, nextcloud
- Language: Dart
- Homepage:
- Size: 53.8 MB
- Stars: 106
- Watchers: 6
- Forks: 24
- Open Issues: 152
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Neon
A framework for building convergent cross-platform Nextcloud clients using Flutter.
At the Nextcloud Conference 2023 there was a lightning talk summarizing the Neon framework: https://www.youtube.com/watch?v=MD3zlRHdSEw
## Contributing
Check out our [contributing docs](CONTRIBUTING.md) to get started with developing with Neon.
We have a lot of [documentation](docs) from helping you set up your development environment to our guidelines.
Please make sure to read them before starting to contribute.## The goals of Neon
The Neon project has three main goals:
1. The [Neon framework](packages/neon_framework) does the heavy lifting for Nextcloud client developers. Neon already handles the authentication flow and manages data requests and caching. This means that developers can reuse a lot of the code and do not need to reinvent the wheel.
2. The [Neon app](packages/neon_framework/example) is a cross-platform Nextcloud client that runs on iOS, Android, macOS, Windows, Linux and Web. We already support Android and Linux with the other platforms being work in progress.
3. The [Neon app](packages/neon_framework/example) is a multi client app. This means that you can have multiple clients in the same mobile app. It enables seamless switching between multiple apps as Nextcloud users have enjoyed on the web forever.### Current problems with other clients
- There are many clients that are designed to run exclusively on a single platform or device type. They all have different code bases, which makes feature parity and maintenance much more difficult.
- The user experience and features differ significantly from platform to platform, which leads to frustration. This particularly affects mobile devices running Linux (e.g. postmarketOS). There is no suitable client on this platform at all. Using the desktop Linux client for file synchronization would probably work, but it still lacks almost all the features available on e.g. Android and the client is not converging to the needs of a mobile screens.
- Even on feature-rich platforms, features are spread across multiple apps, making it more complicated for the user who simply wants to get the most out of their Nextcloud server on their device.### How Neon as a framework tries to solve them
The Neon project uses [Dart](https://dart.dev/) and [Flutter](https://flutter.dev/) to help mobile client developers building apps. Flutter allows us to build convergent cross-platform clients that feel native.
We are a 100% FOSS framework and do not rely on any proprietary libraries making it easy for developers to publish their apps in places like the [F-Droid](https://f-droid.org/) store.
We provide a generated [Nextcloud Dart client](packages/nextcloud) that is generated from the new OpenAPI specifications shipped with Nextcloud and is already being used by other Dart and Flutter projects. Gone are the days of looking at the PHP code and implementing an API client by hand which can be time-consuming and very error-prone.
For more details on generating the OpenAPI specifications you can watch the following lightning talk from the Nextcloud Conference 2023: https://www.youtube.com/watch?v=lI9PrOOMLzEWe provide abstractions, common utilities and prebuilt UI components (called Widgets in Flutter) that can be re-used. This allows Neon to make developing a new Nextcloud client as easy as adding a few custom UI elements and the necessary state management, while everything else is already taken care of for you.
## Contributing back
We encourage every client developer to contribute their app implementation back into Neon.
This way the app developers can choose from a large set of clients to enable.## Development and support
We have a Matrix space where you can ask questions: https://matrix.to/#/#nextcloud-neon:matrix.org
## Features
See [here](packages/neon_framework/example/README.md) for screenshots.
- :white_check_mark: Supported
- :construction: Work in progress
- :rocket: Planned| App | Status |
|---------------------------------------------------------------------|--------------------|
| [Dashboard](packages/neon_framework/packages/dashboard_app) | :white_check_mark: |
| [Files](packages/neon_framework/packages/files_app) | :white_check_mark: |
| [News](packages/neon_framework/packages/news_app) | :white_check_mark: |
| [Notes](packages/neon_framework/packages/notes_app) | :white_check_mark: |
| [Notifications](packages/neon_framework/packages/notifications_app) | :white_check_mark: |
| [Talk](packages/neon_framework/packages/talk_app) | :construction: |
| Activity | :rocket: |
| Calendar | :rocket: |
| Contacts | :rocket: |
| Cookbook | :rocket: |
| Cospend | :rocket: |
| Deck | :rocket: |
| Photos | :rocket: |
| Tasks | :rocket: |## Platform support
| Platform | Progress |
|----------|--------------------|
| Android | :white_check_mark: |
| iOS | :construction: |
| MacOS | :construction: |
| Linux | :white_check_mark: |
| Windows | :rocket: |
| Web | :white_check_mark: |## Try it out
Check the [example](packages/neon_framework/example) for instructions to try out the app.