ZH DOC | Welcome to Dweb Browser discord
dweb-browser is a browser platform built in accordance with Dweb standards, and exposes the capabilities of the browser and the native system capabilities of the browser through various dweb modules. Currently, we have implemented support for mainstream platforms such as Android, IOS, MacOS, and Windows.
We define the app installed in Dweb Browser
as a dweb app
. With a simple configuration file, you can quickly install your web app
on various platforms.
How to start development: flow.
dweb app
application developer documentation: docs
- Desktop download address Please download the version of the corresponding platform.
- Search for
Dweb Browser
in major app stores on mobile devices to download and use.
In Dweb Browser
, we emphasize the concept of modules, and all functions are dweb
modules.
A dweb app
can be as small as a simple functional module to focus on providing some capabilities for the distributed network, that is, the module you call locally can be a remote module.
The concept of modularity will be further reflected in the programmable backend. The concept of modules is weakened for front-end developers, and front-end developers simply call any plug-in for any function.
Provide multi-level development requirements.
The module includes std.dweb
, sys.dweb
, browser.dweb
, *.dweb
and other standards.
The full-platform standard module, the interface provided needs to be consistent on each platform. And it needs to be recognized by the community.
Currently there are three:
-
file.std.dweb
: a standard module for file operations, providing standard capabilities for operating folders. -
http.std.dweb
: a standard module for http services. -
dns.std.dweb
: dns forwarding lookup module.
System-level module, providing some system-level capabilities, the capabilities of each platform may be inconsistent. When some modules have consistent interfaces across all platforms and are recognized by the community, they will be upgraded to standard modules across all platforms.
Some examples:
-
haptics.sys.dweb
: vibration module, providing vibration capabilities, only implemented on mobile terminals. -
keychain.sys.dweb
: key storage module. -
geolocation.sys.dweb
: module for obtaining longitude and latitude. -
...
Browser-level module, implementing some browser-level functions.
Some examples:
-
download.browser.dweb
: download module, providing download capabilities. -
jmm.browser.dweb
: It is a dynamic dweb module manager, based on which application functions similar to PWA can be implemented. -
js.browser.dweb
: It is a javascript-runtime that uses WebWorker as the underlying implementation. Therefore, various standards in WebWorker can be used out of the box. -
...
plaoc is a "cross-platform web application" development toolkit based on the Dweb Browser
platform that is comparable to Cordova, Capacitor, and Tauri.
It provides full-link tools and can quickly call the capabilities of various platforms and systems.
Contains the packaging tool @plaoc/cli
and the front-end plug-in @plaoc/plugins
.
@plaoc/cli is a command line tool for dweb app
development and packaging applications to Dweb Browser
.
For specific documents, please refer to cli document
@plaoc/plugins can give web developers the ability to directly call the API of each platform system.
For specific documents, please refer to plugins document
- View: Quick Start
- Recommended reading: Complete development environment setup documentation
- Initialize resource package
deno task init
Need to compile Dweb Browser
static resource files.
deno task dev
deno task plaoc:watch
The project contains front-end and back-end example projects, located in examples.
You can run the following command to view:
plaoc:demo
plaoc:demo:serve
Some system-level APIs and services of the project are called using rust-uniffi.
See the project for details dweb_browser_libs.