Trello card printer

kogan, updated 🕥 2022-12-08 07:44:06

eClaire Trello printer

eClaire prints Trello cards from a label printer automatically! It's simple and easy, all you need to do as a Trello user is add a "PRINTME" label to your Trello card.

Having a physical wall and a Trello board is not without it's own pain - we had to keep the two in sync and for months we were typing a card in trello and writing a physical card for the wall and this overhead was not sitting well with us as a fast paced, efficient team.

As a result, eClaire was born on the Kogan.com hackday (May 22nd 2015).

Now we're making it available for all you Trello lovers out there!

eClaire Trello Card

Features

  • Our very own Claire handwriting font. You can create your own using myscriptfont.com and/or FontForge, or use some other ttf font.

Usage

Just add the PRINTME label to your card!

PRINTME

And then wait for the magic to happen

Notification

Installation

Below is the configuration we use in production.

|Type |Name | |-------|------------------| |OS |Linux Ubuntu 14.04| |Printer|Brother QL-570 | |Labels |DK-22205 | |Cards |A6 (105mm X 148mm)|

Configuring your printer

  1. Download and install drivers for your OS at QL-570 label printer driver:
  2. Driver
  3. CUPS wrapper (if you are on a Linux)
  4. Switch on your printer
  5. Verify that your printer appears on http://localhost:631/ (CUPS admin page):
  6. Note down your printer name under Printers > Queue Name, e.g. QL-570
  7. Set up the correct label size by running:

sudo brpapertoollpr_ql570 -P QL-570 -n trello -w 62 -h 140 5. Set other printer options in the printer configuration - Page Setup > Orientation: Landscape - Finishing > Auto Cut: Cut the medium at the end of the job - Advanced > Roll Fed Media: Continuous roll

Set up Trello labels

eClaire uses labels to find cards to print, so please create the labels PRINTME and PRINTED to all of your boards for eClaire to use.

Set Up eClaire

  1. Run pipenv install eclaire
  2. Start creating an eclaire.yml from the example below
  3. Setup trello API credentials
  4. (optional) QR Codes
  5. (optional) Setup Hipchat notifications
  6. To find the id of your boards, you can use --list-boards.
    • eg eclaire --config eclaire.yml --list-boards

```yaml credentials: public_key: XXXX member_token: XXXXXXXXXXXXXXXXXXXXXXXXX

boards: Board1: id: 123abc123abc123abc123abc printer: QL-570

Board2: id: 123abc123abc123abc123ab2 printer: QL-570 notify: false ```

Trello credentials

  1. Go to https://trello.com/app-key and copy the "Key".
  2. Create the member_token using the /connect/ endpoint in your browser
  3. https://trello.com/1/connect?key=...&name=TrelloPrinter&response_type=token&scope=read,write&expiration=never
  4. Replace the ... with your Key from before.
  5. Copy the key and member token into your eclaire.yml file.

(OPTIONAL) QR Codes

If you wish to enable QR codes in the bottom right hand corner of cards, then add this to your eclaire.yml file:

yaml qrcode_enabled: true

(OPTIONAL) Hipchat notifications

If you wish to enable hipchat notifications from eClaire, then add this to your eclaire.yml file:

yaml hipchat: api_key: XXXXXXXXXXXXXXXXXXXXXXXXX user: eClaire room: Team Room

Generate a HipChat API token from your hipchat account admin

Known issues

  • Cards with long titles will be truncated (but this encourages you to be brief).
  • Sometimes the QR code will overlap the title for long titles.
  • Card titles are capitalized which might result in lost meaning for CamelCased words.
  • The font provided does not have glyphs for all characters, but should handle most cases for the English alphabet.

Contributing

We use pre-commit <https://pre-commit.com/> to enforce our code style rules locally before you commit them into git. Once you install the pre-commit library (locally via pip is fine), just install the hooks::

pre-commit install -f --install-hooks

The same checks are executed on the build server, so skipping the local linting (with git commit --no-verify) will only result in a failed test build.

Current style checking tools:

  • flake8: python linting
  • isort: python import sorting
  • black: python code formatting

Note:

You must have python3.7 available on your path, as it is required for some
of the hooks.

License

Copyright 2019 KOGAN.COM PTY LTD

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Issues

Bump certifi from 2020.12.5 to 2022.12.7

opened on 2022-12-08 07:44:06 by dependabot[bot]

Bumps certifi from 2020.12.5 to 2022.12.7.

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/kogan/eClaire/network/alerts).

Bump ipython from 7.18.1 to 7.31.1

opened on 2022-01-21 19:05:25 by dependabot[bot]

Bumps ipython from 7.18.1 to 7.31.1.

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/kogan/eClaire/network/alerts).