n0-computer / n0-computer/sendme

Feature request: Smaller codes

Open
#80 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.2k
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Coming from croc, I'm not used to the very big codes. As an example, a croc code I just got is 5615-eclipse-select-liter. sendme codes are, in comparison, very large. Even when specifying --ticket-type id (as indicated in the help menu by being the smallest ticket type), the receive code is over 100 characters long.

croc codes use a randomly generated PIN and a forked version of mnemonicode (which seems to have a Rust port on crates.io). croc codes are easy to read out over the phone because they're mostly words, but I will always have to provide the sendme ticket over text. I'm not entirely sure what data is contained in the ticket, but would it be possible to represent easier?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the CLI handling for --ticket-type id and trace how the send and receive codes are generated and consumed. Review the linked croc mnemonicode implementation and Rust mnemonic port for comparison, while determining what data the sendme ticket contains. Done means a shorter, easier-to-read ticket representation that still supports the existing transfer flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.