모든 유지 관리되는 Nextcloud 서버 버전을 지원하는 Dart 기반의 API 클라이언트입니다. 파일 저장, 사용자 인증, 캘린더 관리와 같은 Nextcloud 서비스를 여러 플랫폼에서 원활하게 통합할 수 있습니다. 이 패키지는 신뢰성 있고 잘 문서화되어 있으며, 현대적인 Flutter 애플리케이션과 호환됩니다. 공식 Nextcloud API 엔드포인트를 활용하며 개발자를 위한 깔끔하고 타입 안정적인 인터페이스를 제공합니다.
사용 사례
Flutter 앱에 파일 저장소 통합
Nextcloud와 사용자 데이터 동기화
Nextcloud API를 사용하여 협업 도구 구축하기
안전한 인증 흐름 구현
클라우드 파일에 대한 오프라인 액세스 활성화
주요 기능
모든 유지 관리되는 Nextcloud 서버 버전을 지원합니다
크로스 플랫폼 호환성 (Android, iOS, Web, macOS, Windows, Linux)
유형 안전한 API 래퍼
내장 인증 처리
확장 가능하고 잘 문서화됨
적합한 대상
클라우드 연결 Flutter 앱을 개발하는 개발자
백엔드로 Nextcloud를 사용하는 팀
보안 파일 및 데이터 동기화가 필요한 앱
고려 사항
실행 중인 Nextcloud 서버 인스턴스가 필요합니다
인증 설정은 추가 구성이 필요할 수 있습니다
Nextcloud API에서 노출된 기능에 제한됨
원본 README
연결된 소스 저장소의 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 to get started with developing with Neon.
We have a lot of documentation 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:
The 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.
The Neon app 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.
The Neon app 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 and Flutter 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 store.
We provide a generated Nextcloud Dart client 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=lI9PrOOMLzE
We 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