Customizable and privacy-conscious open-source keyboard
Find a file
Helium314 26809444bd rename more keys to popup keys
user-facing name is already popup keys, now internal rename is done to avoid confusion and for consistency
2024-02-05 09:33:06 +01:00
.github some adjustments after renaming the package 2024-01-31 21:12:34 +01:00
app rename more keys to popup keys 2024-02-05 09:33:06 +01:00
fastlane/metadata/android some adjustments after renaming the package 2024-01-31 21:12:34 +01:00
gradle/wrapper Update gradle and AGP (#218) 2023-10-20 17:02:58 +02:00
images update matrix qr 2021-05-17 08:19:30 +02:00
tools/make-emoji-keys remove unused tools for old xml layout style, update readme 2024-01-28 18:16:48 +01:00
.gitignore Update fastlane dir for v1.1 2020-01-15 13:30:44 +01:00
build.gradle allow adjusting popup order and label source 2023-12-25 09:20:15 +01:00
gradle.properties remove unused dependencies and compress native libraries 2023-08-29 07:52:18 +02:00
gradlew upgrade dependencies 2023-09-26 11:34:32 +02:00
gradlew.bat upgrade dependencies 2023-09-26 11:34:32 +02:00
layouts.md rename more keys to popup keys 2024-02-05 09:33:06 +01:00
LICENSE-Apache-2.0 update license headers in java / kotlin code 2023-10-17 13:44:01 +02:00
LICENSE-GPL-3 update license headers in java / kotlin code 2023-10-17 13:44:01 +02:00
README.md don't allow disabling popop keys in non-alphabet layouts 2024-02-01 10:31:21 +01:00
settings.gradle some adjustments / lint / unused code 2024-01-29 14:32:51 +01:00

OpenBoard upgrade, WIP

Table of contents

Features

  • Allow loading Glide typing library
    • not included in the app, as there is no compatible open source library
    • can be extracted from GApps packages (swypelibs), or downloaded here
  • Multilingual typing
  • Load external dictionaries
    • get them here, or in the experimental section (quality may vary)
    • add them in language settings (click on the language, then on + next to dictionary), or open the file in a file explorer
    • additional dictionaries for emojis or scientific symbols can be used to provide suggestions ("emoji search")
    • note that for Korean layouts, suggestions only work using this dictionary, the tools in the dictionary repository are not able to create working dictionaries
  • Adjust keyboard themes (style and colors)
    • can follow the system's day/night setting on Android 10+ (and on some versions of Android 9)
  • Split keyboard (if the screen is large enough)
  • Number row
  • Number pad
  • Show all available extra characters on long pressing a key
  • Backup your learned word / history data
  • Add custom keyboard layouts
  • Adjustable bottom padding

Hidden Functionality

Features that may go unnoticed, and further potentially useful information

  • Long-pressing the Clipboard Key (the optional one in the suggestion strip) pastes system clipboard contents.
  • Long-pressing keys in the suggestion strip toolbar pins them to the suggestion strip.
  • Long-press the Comma-key to access Clipboard View, Emoji View, One-handed Mode, Settings, or Switch Language:
    • Emoji View and Language Switch will disappear if you have the corresponding key enabled;
    • For some layouts it's not the Comma-key, but the key at the same position (e.g. it's q for Dvorak layout).
  • When incognito mode is enabled, no words will be learned, and no emojis will be added to recents.
  • Sliding key input: Swipe from shift to another key to type a single uppercase key
    • This also works for the ?123 key to type a single symbol from the symbols keyboard, and for related keys.
  • Long-press the ?123 from main view to directly open numpad.
  • Long-press a suggestion in the suggestion strip to show more suggestions, and a delete button to remove this suggestion.
  • Swipe up from a suggestion to open more suggestions, and release on the suggestion to select it.
  • Long-press an entry in the clipboard history to pin it (keep it in clipboard until you unpin).
  • Swipe left in clipboard view to remove an entry (except when it's pinned)
  • You can add dictionaries by opening the file
    • This only works with content-uris and not with file-uris, meaning that it may not work with some file explorers.
  • When using debug mode / debug APK
    • Long-press a suggestion in the suggestion strip twice to show the source dictionary.
    • When using debug APK, you can find Debug Settings within the Advanced Preferences, though the usefulness is limited except for dumping dictionaries into the log.
    • In the event of an application crash, you will be prompted whether you want the crash logs when you open the Settings.
    • When using multilingual typing, space bar will show an confidence value used for determining the currenly used language.
    • Suggestions will have some tiny numbers on top showing some internal score and source dictionary (can be disabled)
  • For users doing manual backups with root access: Starting at Android 7, some files and the main shared preferences file are not in the default location, because the app is using device protected storage. This is necessary so the settings and layout files can be read before the device is unlocked, e.g. at boot. The files are usually located in /data/user_de/0/<package_id>/, though the location may depend on the device and Android version.

Contributing ❤

Reporting Issues

Whether you encountered a bug, or want to see a new feature in OpenBoard, you can contribute to the project by opening a new issue here. Your help is always welcome!

Before opening a new issue, be sure to check the following:

  • Does the issue already exist? Make sure a similar issue has not been reported by browsing existing issues. Please search open and closed issues.
  • Is the issue still relevant? Make sure your issue is not already fixed in the latest version of OpenBoard.
  • Did you use the issue template? It is important to make life of our kind contributors easier by avoiding issues that miss key information to their resolution. Note that issues that that ignore part of the issue template will likely get treated with very low priority, as often they are needlessly hard to read or understand (e.g. huge screenshots, or addressing multiple topics).

Translation

Currently there is no simple way of translating the app, but it's coming soon...

Dictionary Creation

There will not be any further dictionaries bundled in this app. However, you can add dictionaries to the dictionaries repository. To create or update a dictionary for your language, you can use this tool. You will need a wordlist, as described here and in the repository readme.

Code Contribution

Getting Started

OpenBoard project is based on Gradle and Android Gradle Plugin. To get started, you can install Android Studio, and import project 'from Version Control / Git / Github' by providing this git repository URL (or git SSH URL). Of course you can also use any other compatible IDE, or work with text editor and command line.

Once everything is up correctly, you're ready to go!

Guidelines

OpenBoard is a complex application, when contributing, you must take a step back and make sure your contribution:

  • Is actually wanted. Best check related open issues before you start working on a PR. Issues with "PR" and "contributor needed" labels are accepted, but still it would be good if you announced that you are working on it. If there is no issue related to your intended contribution, it's a good idea to open a new one to avoid disappointment of the contribution not being accepted. For small changes or fixing obvious bugs this step is not necessary.
  • Is only about a single thing. Mixing unrelated contributions into a single PR is hard to review and can get messy.
  • Has a proper description. What your coutribution does is usually less obvious to reviewers than for yourself. A good description helps a lot for understanding what is going on, and for separating wanted from unintended changes in behavior.
  • Uses already in-place mechanism and take advantage of them. In other terms, does not reinvent the wheel or uses shortcuts that could alter the consistency of the existing code.
  • Has a low footprint. Some parts of the code are executed very frequently, and the keyboard should stay responsive even on older devices.
  • Does not bring any non-free code or proprietary binary blobs. This also applies to code/binaries with unknown licenses. Make sure you do not introduce any closed-source library from Google. If your contribution contains code that is not your own, provide a link to the source.
  • Complies with the user privacy principle OpenBoard follows.

In addition to previous elements, OpenBoard must stick to F-Droid inclusion guidelines.

Adding Layouts

See layouts.md for how to add new layouts to the app.

Update Emojis

See make-emoji-keys tool README.

License

OpenBoard (and this yet unnamed fork) project is licensed under GNU General Public License v3.0.

Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.

See repo's LICENSE file.

Since the app is based on Apache 2.0 licensed AOSP Keyboard, an Apache 2.0 license file is provided too.

Credits