tomas / tomas/needle

Use .netrc for preconfigured authentication

Open
#334 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.6k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Frequently authentication needs to be configured outside the code. Quite standard approach in Unix world is to store those credentials in ~/.netrc and this is widely supported in HTTP clients, i.e. wget, curl or python-requests. Please include support for auto-reading credentials from ~/.netrc as well (I believe there is an npm module for parsing that).

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 by locating Needle's authentication configuration and request setup, then review how existing HTTP clients handle ~/.netrc credentials and identify a suitable npm parser. Done means credentials can be read from ~/.netrc and used for authentication without requiring them in code, with coverage for the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.