搜索插件、代码仓与 APP 分类

插件详情v9.0.0

nextcloud

一个用 Dart 编写的 Nextcloud API 客户端,支持所有维护中的 Nextcloud 服务器版本。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
1680
喜欢数
26
Pub 分数
140

安装插件

flutter pub add nextcloud

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个基于 Dart 的 Nextcloud API 客户端,支持所有维护版本的 Nextcloud 服务器。它可实现与 Nextcloud 服务(如文件存储、用户身份验证和日历管理)在多个平台上的无缝集成。该包设计可靠、文档完善,并与现代 Flutter 应用程序兼容。它利用官方的 Nextcloud API 端点,为开发者提供简洁、类型安全的接口。

适合场景

  • 在Flutter应用中集成文件存储
  • 与 Nextcloud 同步用户数据
  • 使用 Nextcloud API 构建协作工具
  • 实施安全的身份验证流程
  • 启用对云文件的离线访问

主要特点

  • 支持所有维护的 Nextcloud 服务器版本
  • 跨平台兼容性(Android、iOS、Web、macOS、Windows、Linux)
  • 类型安全的 API 包装器
  • 内置身份验证处理
  • 可扩展且文档齐全

适合对象

  • 开发连接云的 Flutter 应用程序的开发者
  • 使用 Nextcloud 作为后端的团队
  • 需要安全文件和数据同步的应用程序

使用建议

  • 需要运行中的 Nextcloud 服务器实例
  • 身份验证设置可能需要额外配置
  • 受限于 Nextcloud API 暴露的功能

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Neon

Neon logo

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:

  1. 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.
  2. 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.
  3. 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

Features

See here for screenshots.

  • :white_check_mark: Supported
  • :construction: Work in progress
  • :rocket: Planned
App Status
Dashboard :white_check_mark:
Files :white_check_mark:
News :white_check_mark:
Notes :white_check_mark:
Notifications :white_check_mark:
Talk :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 for instructions to try out the app.

所属分类

依赖

依赖清单 16 项

源码仓库

使用此插件的项目