Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

3.7 KiB

Contribute

Introduction

First, thank you for considering contributing to LessPass! It’s people like you that make the open source community great! 😊

We welcome any type of contribution, not only code. You can help by...

  • QA: filing bug reports; the more details you can give the better (e.g. screenshots with the console open)
  • Marketing: writing blog posts and howto’s, making videos, updating the wiki, writing documentation, printing stickers, ...
  • Community: presenting the project at meetups, organizing a dedicated meetup for the local community, hosting a hackathon for LessPass, ...
  • Code: taking a look at the open issues. Even if you can’t write code, commenting on them and showing that you care about a given issue matters. It helps us triage them.
  • Money: helping us financially. We welcome financial contributions in full transparency on our Open Collective page.

Your first contribution

Working on your first Pull Request? You can learn how using this free series, How to Contribute to an Open Source Project on GitHub.

Development

Tools

Before diving in to the code, you’ll need these tools installed in your environment:

The mobile apps need:

If you are working on the CLI, you will need:

Folder architecture

Here are some folders that worth noticing:

  • package contains the code for the web version and the browser extension. Development is done with javascript and Vue.
    • lesspass-pure contains the core of lesspass. Running yarn dev in this folder will run a lesspass instance locally.
    • lesspass-web-extension contains the code specific for the web extension.
    • lesspass-render-password contains the algorithm to generate passwords.
  • cli contains the command line version. Development is done with python.
  • mobile contains the android and ios version. Development is done with javascript and react native.

Commands

To install dependencies, please run yarn install

To run tests, you can run yarn test in the root directory or any sub-folder describe above.

Submitting code

Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it. The pull request should also contain tests for any new functionality.

Code review process

The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge.

It is also always helpful to have some context for your pull request. What was the purpose? Why does it matter to you? How will it benefit LessPass?

Financial contributions

We accept donations, financial backing, and sponsorships via Open Collective.

Anyone can file an expense. If the expense makes sense for the development of the community, it will be “merged” in the ledger of our Open Collective by the core contributors and the person who filed the expense will be reimbursed.

Questions

If you have any questions, create an issue. Protip: do a quick search first to see if someone else has asked the same question before!

You can also reach the core contributors at contact@lesspass.com