Giter Site home page Giter Site logo

ctsin / proton-mail Goto Github PK

View Code? Open in Web Editor NEW

This project forked from protonmail/proton-mail

0.0 1.0 0.0 19.13 MB

(WIP) React web application to manage ProtonMail

Home Page: https://beta.protonmail.com

HTML 0.13% JavaScript 10.15% CSS 1.64% TypeScript 88.08%

proton-mail's Introduction

You will need:

  • bash
  • node (mini latest LTS)
  • npm (latest too, it's better)

⚠ If you use Windows plz follow this document before anything else how to prepare Windows

How to dev 1

  1. Clone this repository
  2. Run $ npm i
  3. $ npm start

It will give you the URL where it's available.

You can login via /login

Sync translations [App to crowdin]

You can sync them via $ npm run i18n:upgrade, it will:

  • Extract translations
  • Push them to crowndin
  • Create a commit with them on the repo

How to deploy

  • $ npm run deploy -- --branch=<deploy-X> --api=<target> Deploy the app as /$config

$config: See package.json config.publicPathFlag

  • $ npm run deploy:standalone -- --branch=<deploy-X> --api=<target> Deploy the app as deploy + /login

Based on proton-bundler

Sync translations [Crowdin to our App]

To get latest translations available on crowdin, you can run $ npm run i18n:getlatest. It will:

  • Get list of translations available (default same as proton-i18n crowdin --list --type --limit=95)
  • Upgrade our translations with ones from crowdin
  • Store a cache of translations available in the app
  • Export translations as JSON
  • Commit everything

⚠️ If you want to get only a custom list of translations, configure it inside po/i18n.txt and run $ npm run i18n:getlatest -- --custom

proton-mail's People

Contributors

swiip avatar epokk avatar dhoko avatar mmso avatar vincaslt avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.