Need help with create-proton-app?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

albe-rosado
200 Stars 23 Forks MIT License 54 Commits 8 Opened issues

Description

No Configuration Starter Template for Proton Native Apps

Services available

!
?

Need anything else?

Contributors list

# 823
CSS
GraphQL
Nuxt.js
nuxtjs
3 commits
# 264,023
prisma
React
node
Haskell
2 commits
# 3,189
Rust
commonj...
React
js
1 commit
# 675,588
JavaScr...
1 commit
# 265,355
JavaScr...
instagr...
React N...
reactjs
1 commit
# 179,764
Shell
solariz...
intelli...
CSS
1 commit
# 126,884
HTML
Shell
TypeScr...
date-fn...
1 commit

Create Proton Native App

Create Proton Native apps with no build configuration. Works on Linux, MacOS and Windows.

Requirements

Tested with Node.js v10 (LTS).

Windows:

npm install --global --production windows-build-tools

Linux:

Install these packages.

Debian Based (.deb)

libgtk-3-dev build-essential python2-dev

Specifically

g++ make dpkg-dev
from
build-essential
.

Red Hat Based (.rpm)

gtk3-devel gcc-c++ make rpm-build python2-devel

Usage

# install the cli
npm install -g create-proton-app
# create your proton native app
create-proton-app my-app
# got to your project directory and have fun!
cd my-app
npm run start

It will create a directory called

my-app
inside the current folder.
Inside that directory, it will generate the initial project structure and install Proton Native dependencies:
my-app
├── node_modules
├── package.json
├── index.js
└── .babelrc

Packaging

We use

electron-builder
to handle the packaging for your application. Produces bundles for Linux(appImages, snaps, deb, rpm, ...) and MacOs. Windows support is unstable.
# build your app
npm run build
# bundle it
npm run dist

Only a minimal build/packaging config is provided, as your application grows you should take a look to the documentation.

Contributing

We'd love to have your helping hand! - If you like this tool and have an idea of how to improve it or want to add an additional feature, create an issue explaining your idea. - Please, avoid using third party libraries for small/simple tasks, make sure we really need that library in our project, such a simple tool shouln't have lots of dependencies that at the same time have their own almost infinite dependency trees. - If something doesn’t work, please file an issue. - Be nice.

License

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.