mafintosh / mafintosh/hyperdb-cli

hprotocol url encodes everything

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

after merging my PR try this:

$ hyperdb ./podcasts.db d1e127093a38b5e5274c0f549b9e5ad285752a07af4e2f14fdd28e119d569816 --valueEncoding=json
$ db.key = d1e127093a38b5e5274c0f549b9e5ad285752a07af4e2f14fdd28e119d569816
$ db.local.key = a1b1a534b50b740970fc88ef1be17109cd3e573104cb7cf64a8e0594d24c71ec
$ get key > values...
$ put key value
$ authorize key
get https://itunes.apple.com/us/podcast/id1000101673
> %5B%7B%22itunes%22:%22https://itunes.apple.com/us/podcast/id1000101673%22,%22title%22:%22The%20Tyson%20Hour%22,%22author%22:%22Spencer%20Pratt%20&%20Tyson%20Apostol%20make%20up%20Spyson%22,%22feed%22:%22http://feeds.feedburner.com/TheSpysonHour%22,%22website%22:%22http://spyson.com%22,%22file%22:%7B%22file%22:%22e524f0aec9ce73af86fd2a4a0463c367a7a1551ad7018c5af9837fb52bfb8a36%22,%22status%22:200%7D%7D%5D

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

Reproduce the documented hyperdb command and inspect the hprotocol handling responsible for the encoded response shown in the issue. Determine the intended representation for the returned JSON and verify that the command no longer encodes the complete response unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.