Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buttercup/buttercup-desktop
:key: Cross-Platform Passwords & Secrets Vault
https://github.com/buttercup/buttercup-desktop
buttercup electron encryption login password-manager password-vault security
Last synced: 2 days ago
JSON representation
:key: Cross-Platform Passwords & Secrets Vault
- Host: GitHub
- URL: https://github.com/buttercup/buttercup-desktop
- Owner: buttercup
- License: gpl-3.0
- Created: 2015-09-12T19:54:55.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T18:17:32.000Z (2 months ago)
- Last Synced: 2024-10-29T15:38:41.382Z (about 1 month ago)
- Topics: buttercup, electron, encryption, login, password-manager, password-vault, security
- Language: TypeScript
- Homepage: https://buttercup.pw
- Size: 15.3 MB
- Stars: 4,307
- Watchers: 70
- Forks: 332
- Open Issues: 150
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- stars - buttercup/buttercup-desktop - Platform Passwords & Secrets Vault (HarmonyOS / Windows Manager)
- awesome - buttercup/buttercup-desktop - :key: Cross-Platform Passwords & Secrets Vault (TypeScript)
- awesome - buttercup-desktop - :key: Javascript Secrets Vault - Multi-Platform Desktop Application (JavaScript)
- favorite-link - 基于 NodeJS 的跨平台,免费和开源密码管理器。
- fucking-Awesome-Linux-Software - ![Open-Source Software - Buttercup is a free, open-source and cross-platform password manager, built on NodeJS with Typescript. (Applications / Security)
- open-source-mac-os-apps - Buttercup Desktop - Secure password manager for mac and other platforms. ![javascript_icon] (Applications / Utilities)
- awesome-repositories - buttercup/buttercup-desktop - :key: Cross-Platform Passwords & Secrets Vault (TypeScript)
- Awesome-Linux-Software - ![Open-Source Software - Buttercup is a free, open-source and cross-platform password manager, built on NodeJS with Typescript. (Applications / Security)
- awesome-electron - Buttercup Desktop - Password manager. (Apps / Open Source)
- awesome-electron-zh - Buttercup Desktop - Password manager. (Apps / Open Source)
- awesome-electron - Buttercup Desktop - Password manager. ![](https://img.shields.io/github/stars/buttercup/buttercup-desktop.svg?style=social&label=Star) (Apps / Password)
- open-source-mac-os-apps - Buttercup Desktop - Secure password manager for mac and other platforms. ![javascript_icon] (Applications / Utilities)
README
# Buttercup Desktop
> Buttercup for Desktop - Mac, Linux and Windows[![Buttercup](https://cdn.rawgit.com/buttercup-pw/buttercup-assets/6582a033/badge/buttercup-slim.svg)](https://buttercup.pw) ![Latest version](https://img.shields.io/github/tag/buttercup/buttercup-desktop.svg?label=latest) [![Chat securely on Keybase](https://img.shields.io/badge/keybase-bcup-blueviolet)](https://keybase.io/team/bcup)
²## About
Buttercup is a free, open-source and cross-platform **password manager**, built on NodeJS with Typescript. It uses strong industry-standard encryption to protect your passwords and credentials (among other data you store in Buttercup vaults) at rest, within vault files (`.bcup`). Vaults can be loaded from and saved to a number of sources, such as the **local filesystem**, **Dropbox**, **Google Drive** or any **WebDAV**-enabled service (like _ownCloud_ or _Nextcloud_ ¹).
### Why you need a password manager
Password management is a crucial tool when you have _any_ online presence. It's vital that all of your accounts online use strong and unique passwords so that they're much more difficult to break in to. Even if one of your accounts are breached, having unique passwords means that the likelihood of the attacker gaining further access to your accounts portfolio is greatly reduced.
Without a password manager, such as Buttercup, it would be very tedious to manage different passwords for each service. If you remember your passwords it's a good sign that they're not strong enough. Ideally you should memorise a primary password for your vault, and not know any of the account-specific passwords off the top of your head.
### Precautions
Buttercup securely encrypts your data in protected files, but this security is only as strong as the weakest component - and this is very often the primary password used to lock and unlock your vault. Follow these basic guidelines to ensure that your vault is safe even if exposed:
* Choose a **unique** password that is not used elsewhere
* Use a highly-varied set of different characters - such as alpha-numeric, symbols and spaces
* Use a long password - the longer the better
* Don't include words or names in the password
* Never share your password with anyone_It is very important to note that no one associated with Buttercup will ever request your personal vault or its primary password. Do not share it or any of its related details with anyone. Developers or contributors working with Buttercup may request **example** vaults created via your system to try and reproduce issues, but please ensure to never use your real password or store actual credentails within such vaults._
### Versions
The current stable version is **2**. We recommend upgrading if you're still on v1, as it is no longer being actively maintained. You can still browse the v1 source and documentation [here](https://github.com/buttercup/buttercup-desktop/tree/v1).
Buttercup is built on Node 20 LTS - no other platform is officially supported.
### Operating Systems
Buttercup Desktop is officially supported on:
* Most linux distributions (x64), such as Ubuntu
* MacOS (x64, Apple Silicon¹)
* Windows 10 / 11 (x64)¹ No builds yet
#### Arch Linux
Buttercup is also available for [Arch via the AUR](https://aur.archlinux.org/packages/buttercup-desktop/). This release channel is maintained by our community.
Some Arch users have reported the occasional segfault - if you experience this please try [this solution](https://github.com/buttercup/buttercup-desktop/issues/643#issuecomment-413852760) before creating an issue.
#### 32bit builds (x86)
Buttercup no longer provides 32bit builds, due to the complexity of supporting them in the build pipeline.
## Portability
Buttercup provides a portable **Windows** version. Look for the release with the name `Buttercup-win-x64-2.0.0-portable.exe` where `2.0.0` is the version and `x64` is the architecture.
Although not explicitly portable, both the Mac **zip** and Linux **AppImage** formats are more or less standalone. They still write to the standard config/log destinations, however.
To make the most of the portable version, some enviroment variables are required:
| Enviroment Variables | Description |
|------------------------|-------------|
| `BUTTERCUP_HOME_DIR` | If provided buttercup will use this path for saving __configrations__ , __user settings__ or even __temprorary files__ |
| `BUTTERCUP_CONFIG_DIR` | Stores __user settings__, not allways needed but can be used to change config location or will default to BUTTERCUP_HOME_DIR `Optional: Only activates if BUTTERCUP_HOME_DIR is provided` |
| `BUTTERCUP_TEMP_DIR` | Same as BUTTERCUP_CONFIG_DIR but stores __temprory files__ `Optional: Only activates if BUTTERCUP_HOME_DIR is provided` |### Sample `ButtercupLauncher.bat` for Windows portable executable
> This example stores user settings and cache on the portable folder, but stores temprory files on the host PC.
```bat
@ECHO OFF
if not exist "%~dp0Buttercup" mkdir "%~dp0Buttercup"
set "BUTTERCUP_HOME_DIR=%~dp0Buttercup"
set "BUTTERCUP_TEMP_DIR=%temp%"
start %~dp0Buttercup.exe %*
```## Configuration
Configuration files are stored in OS-specific locations.
### Command-Line arguments
The following arguments can be provided to Buttercup, but are all optional.
| Argument | Description |
|-----------------------|---------------------------------------|
| `--autostart` | Flag passed to Buttercup when launched automatically by the OS. |
| `--hidden` | Disables the automatic opening of the main window upon launch. |
| `--no-update` | Disables automatic update checking. **Not recommended**: Use at your own risk. |### App config
Application configuration.
* Linux: `$XDG_CONFIG_HOME/Buttercup/desktop.config.json`
* Mac: `~/Library/Preferences/Buttercup/desktop.config.json`
* Windows: `$APPDATA/Buttercup/Config/desktop.config.json`### Vault storage
Storage of connected vaults (not actual vault contents).
* Linux: `$XDG_DATA_HOME/Buttercup/vaults.json`
* Mac: `~/Library/Application\ Support/Buttercup/vaults.json`
* Windows: `$LOCALAPPDATA/Buttercup/Data/vaults.json`### Offline vault cache
Stored copies of vaults for offline use.
* Linux: `$(node -e "console.log(os.tmpdir())")/$(whoami)/Buttercup/vaults-offline.cache.json`
* Mac: `$(node -e "console.log(os.tmpdir())")/Buttercup/vaults-offline.cache.json`
* Windows: `$(node -e "console.log(os.tmpdir())")/Buttercup/vaults-offline.cache.json`### Logs
Logs are written for all app sessions.
* Linux: `~/.local/state/Buttercup-nodejs` or `$XDG_STATE_HOME/Buttercup-nodejs`
* Mac: `~/Library/Logs/Buttercup-nodejs`
* Windows: `%LOCALAPPDATA%\Buttercup-nodejs\Log`_Note that logs for portable Windows applications will be written to the same directory that the executable resides in._
## Published Applications
You can view the current releases on the [Buttercup Desktop releases page](https://github.com/buttercup/buttercup-desktop/releases). Under each release are some assets - the various binaries and installers for each platform Buttercup supports. When installing or downloading, make sure to pick the right operating system and architecture for your machine.
_Note that at this time, Buttercup only supports x64 (64 bit) machines._
### Linux
We provide an **AppImage** build for Linux, because it is the most desirable format for us to release. AppImages support auto-updating, a crucial feature (we feel) for a security application. The other build types do not.
**Important:** Buttercup uses Electron to build its desktop application, which relies on [**AppImageLauncher**](https://github.com/TheAssassin/AppImageLauncher#readme) for correct integration of AppImages into the host OS. Features like **Google Drive** authentication and correct `.desktop` icon use is only performed when integrating via AppImageLauncher. We highly recommend that you install it.
We won't be supporting formats like Snapcraft, deb or rpm images as they do not align with our requirements. Issues requesting these formats will be closed immediately. Discussion on topics like this should be started on other social channels.
## Development
To begin developing features or bug-fixes for Buttercup Desktop, make sure that you first have Node v16 or greater installed with NPM v7 or greater.
Once cloned, make sure to install all dependencies: `npm install`. After that, open 2 terminals and run `npm run start:build` on one, and then `npm run start:main` in the other.
### Contributing
There are a number of ways you can contribute to Buttercup!
#### Features & Bug fixes
We welcome pull-requests and issues that serve to better Buttercup as a platform. Please remain respecful (this is free & open source after all) with your ideas and observations, and always consider opening an issue before starting on a substantial pull request.
#### Translations
Buttercup relies on the community for translating its interfaces into languages besides English. We use British English (en_GB) as the base language, and translate into all others that our contributors are kind enough to provide.
To add support for a language, make sure to add the translations for our [**vault UI**](https://github.com/buttercup/ui#translations--i18n) first. After that, you can follow these instructions to add another language to the desktop application:
* Copy the `source/shared/i18n/translations/en.json` file to the language code you're providing (eg. `fi.json` for Finnish).
* Edit the `source/shared/i18n/translations/index.ts` file and:
* Import the new JSON file: `import fi from "./fi.json";`.
* Export the imported constant inside the default export already in that file.#### Contributions
This project exists thanks to all the people who contribute. [[Contribute]](CONTRIBUTING.md).
We'd also like to thank:
- Mohammad Amiri (Brand & Identity) ([@pixelvisualize](https://twitter.com/pixelvisualize))
- Arash Asghari (Brand & Identity) ([@\_arashasghari](https://twitter.com/_arashasghari))#### Backers
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/buttercup#backer)]
#### Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/buttercup#sponsor)]
## Notes and Caveats
* ¹ External services like Nextcloud and ownCloud must be configured correctly to support access via the web (using WebDAV). CORS must permit access from any source.
* ² Buttercup (including MadDev Oy) is not affiliated with any of the companies represented in screenshots or preview images.