n0-computer / n0-computer/sendme

Feature request: Double click executable to receive

Open
#81 0 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, sendme is a lot less friendlier for people who aren't familiar with command line tools. With croc, you can double click the executable (at least on Windows), and it'll open a console window with a prompt of Enter receive code:. (This also shows up when croc is ran with no arguments, so I presume that's how it detects it being double clicked.)

croc also detects when an absolute path is provided as the first argument, and then prompts the user with Did you mean to send 'filename'? (Y/n). In most operating systems, when dragging a file on top of an executable, it'll open the executable with the absolute path of the file as the first argument.

The obvious downside is that you can't specify options from this prompt, like --relay or --format.

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

No files or tests are named. Start by reviewing sendme's command-line argument handling and compare it with the described croc behavior for no arguments and an absolute path. Done means double-clicking or passing a dragged file opens the appropriate receive or send prompt while preserving normal command-line options.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.