MCPcopy Index your code
hub / github.com/kusti8/proton-native

github.com/kusti8/proton-native @main sqlite

repository ↗ · DeepWiki ↗
263 symbols 458 edges 60 files 0 documented · 0% 1 cross-repo links
README

proton native Logo by @elisiri

Announcement

Sadly I don't have time to dedicate time to this project. Some others have created a fork here to continue the work: https://github.com/proton-nativejs/proton-native

npm npm styled with prettier PRs Welcome MIT License Gitter chat

Create desktop applications through a React syntax, on all platforms.

V2 is released!

V2 has been released and it brings a whole host of improvements including new components that are identical to React Native, styling, flexbox, hot reloading, and more. You can read the full writeup here. To try it out, visit the documentation for instructions on how to get started!

Features

  • Same syntax and components as React Native
  • Works with existing React libraries such as Redux
  • Cross platform
  • No more Electron
  • Compatible with all normal Node.js packages
  • Hot reloading

Images

Documentation

See the documentation for how to get started and details on all the components.

Examples

Examples can be found in examples/.

Contributing

All contributions are welcome. Just make a PR.

Accelerated by KeyCDN

Extension points exported contracts — how you extend this code

IntrinsicElements (Interface)
(no doc)
src/components/Button.ts
Size (Interface)
(no doc)
src/backends/wx.ts
ReactProxyComponent (Interface)
(no doc)
src/misc/react-proxy.d.ts
Props (Interface)
(no doc)
src/react-components/TouchableWithoutFeedback.tsx
Props (Interface)
(no doc)
src/components/Button.ts
Size (Interface)
(no doc)
src/backends/qt.ts
Props (Interface)
(no doc)
src/react-components/TouchableHighlight.tsx
Component (Interface)
(no doc)
src/components/Base.ts

Core symbols most depended-on inside this repo

setParent
called by 12
src/backends/wx.ts
compareSnapshot
called by 10
test/index.js
propChecker
called by 10
src/utils/propChecker.ts
propsUpdater
called by 9
src/utils/propsUpdater.ts
getBackend
called by 8
src/backends/index.ts
Container
called by 7
src/components/Container.ts
YogaComponent
called by 7
src/components/YogaComponent.ts
setText
called by 5
src/backends/qt.ts

Shape

Function 113
Method 59
Class 55
Interface 36

Languages

TypeScript99%
Python1%

Modules by API surface

src/backends/qt.ts63 symbols
src/backends/wx.ts36 symbols
src/reconciler/index.ts22 symbols
src/utils/yogaHelper.ts11 symbols
src/react-components/TouchableOpacity.tsx8 symbols
examples/CatApi/src/actions/index.js8 symbols
src/react-components/TouchableHighlight.tsx7 symbols
examples/Calculator/app.js7 symbols
test/components/Window.test.js6 symbols
src/react-components/TouchableWithoutFeedback.tsx6 symbols
src/react-components/Picker.tsx6 symbols
src/components/YogaComponent.ts6 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@babel/cli7.7.7 · 1×
@babel/core7.7.7 · 1×
@babel/node7.7.7 · 1×
@babel/plugin-proposal-class-properties7.7.4 · 1×
@babel/preset-env7.7.7 · 1×
@babel/preset-react7.7.4 · 1×
@babel/preset-stage-07.0.0 · 1×
@types/color3.0.1 · 1×
@types/lodash4.14.149 · 1×
@types/node-fetch2.5.4 · 1×
@types/react16.9.17 · 1×
@types/react-reconciler0.18.0 · 1×

For agents

$ claude mcp add proton-native \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact