Commit Graph

384 Commits

Author SHA1 Message Date
rafapaezbas
10aee5aefb removed stage --bare flag (#161) 2024-12-20 09:27:29 +01:00
Sean Zellmer
cdc8606d96 Add bare-expo example & brief architecture explanation (#157)
* Add `bare-expo` to "Bare on Mobile" w/ brief Pear-end explanation

* Add footnote about the term worklet to Bare on Mobile

* Add phrase about using RPC to communicate w/ worklet in Bare on Mobile

* Reword note about `bare-ios` & `bare-android` examples
2024-12-05 21:46:23 +01:00
Sean Zellmer
c6b63ae9fa Pear release 1.7.0 (#158)
* Remove `.getMediaSourceId()` documentation

Removed in: https://github.com/holepunchto/pear/pull/420

* Note that `Pear.restart()` & `Pear.reload()` is Desktop Only

* Revert "reverted dump dry-run flag"

This reverts commit 5eaee12d96.
2024-12-05 21:42:19 +01:00
rafapaezbas
5eaee12d96 reverted dump dry-run flag 2024-11-14 23:28:57 +01:00
Sean Zellmer
ac1349ee83 Doc updates for Pear release 1.6.0 (#155)
* Add dump dry-run flag

Added to pear with https://github.com/holepunchto/pear/pull/400/files

* Add `pear sidecar` logging flags

`-v` & `--sidecar` weren't added as they aren't used.

* Add `Pear.config.dht.nodes` & `Pear.config.dht.bootstrap`
2024-11-14 23:24:33 +01:00
Sean Zellmer
577c4c1bec Updating guides (1.5.0) (#154)
* Remove `--` for app option passthrough

Changed since `paparam` was used for parsing command line options:
85892a6a32a84ae42a548f8e3ac0b5dbedd70c80
Now uses `cmd.rest` for app args.

* Use `Pear.config.args` for howto scripts

* Update "starting a pear desktop project" guide to match template

* Remove `--no-ask-trust` flag from `pear run` cli doc

This command was replaced by `--no-ask` which was already in the
documentation. Updated a reference to `--no-ask-trust` in the 'Sharing a
Pear Application' guide.

* Fix typos in "Releasing a Pear Application" guide

* Correct application storage folder name in hyperbee howto

* Add missing `test/index.test.js` in project structure for terminal guide

* Remove language about app continuing to run

This is no longer true at least as of pear:
v0.5114.pqbzjhqyonxprx8hghxexnmctw75mr91ewqw5dxe1zmntfyaddqy / v1.5.0

* Fix extra indention in example code for hypercore howto

* Format json in `_template.json` example

* Add instructions to set up a minimal `package.json` for testing template

Without this, the next step of `pear run --dev .` does not work since
`pear` expects a `package.json` file.

* Rename hyperbee reader app in hyperdrive howto to avoid name conflict

Naming only matters if someone is following the guides and starts each
guide from the same root directory. If they do, then `bee-reader-app`
from the hyperdrive conflicts with the `bee-reader-app` from the
hyperbee howto.

* Remove unrelated youtube tutorial from hyperswarm howto

* Update guide/creating-a-pear-init-template.md

Co-authored-by: David Mark Clements <huperekchunow@googlemail.com>

* Fix spelling mistake

Co-authored-by: David Mark Clements <huperekchunow@googlemail.com>

---------

Co-authored-by: David Mark Clements <huperekchunow@googlemail.com>
2024-11-01 19:32:58 +01:00
Marco
1bebdf1a95 Fix typo on Pear.messages api (#153) 2024-10-28 22:01:27 +11:00
Sean Zellmer
c0956c273d Fix spelling mistakes (#150) 2024-10-22 15:07:06 +02:00
Sean Zellmer
b4ad921fde Add --force flag for dump CLI (#151) 2024-10-22 15:06:36 +02:00
Sean Zellmer
706f396a5d Convert all howtos to use pear run --dev (#152) 2024-10-22 15:06:18 +02:00
Sean Zellmer
174dcce808 Fix 'key' vs 'link' (#149)
* Change `key` to `link` to match CLI functionality

CLI commands have changed to take the link format (`pear://<key>`)
instead of the key.

* Update guides to use `link` instead of `key` for CLI commands
2024-10-19 17:10:21 +02:00
Sean Zellmer
040acadf22 Add documentation for pear touch command (#147)
* Add documentation for `pear touch` command

* Add `pear seed <link>` example to `pear touch` doc
2024-10-16 09:18:48 +02:00
rafapaezbas
d9b340f00e remove Pear.preferences API (#146) 2024-10-15 18:47:40 +02:00
Sean Zellmer
ae3b4eeab1 Remove hidden --encryption-key flag (#148) 2024-10-15 18:18:39 +02:00
Vivek Singh
03fee03bba fix json 2024-10-15 11:55:04 +05:30
Vivek Singh
bb1a59a909 add .DS_Store to gitignore 2024-10-15 11:09:41 +05:30
Vivek Singh
2335c089ed fixes to nodejs compat 2024-10-15 11:03:37 +05:30
Vivek Singh
41c183df0a Add aliasing and import map examples (#144)
* add npm aliasing info for bare

* fix content and add import maps

* fixes
2024-10-11 18:37:46 +02:00
Vivek Singh
fc85e089fb Alignment for release v1.5 (#139)
* update and add flags for release

* add encryption flag
2024-10-11 12:14:55 +02:00
Vivek Singh
2ee7373e62 add pear interface (#143)
* add pear interface

* fix semi-colon spacing
2024-09-25 12:18:40 +02:00
Vivek Singh
15b52d79a5 Update api (#142)
* add missing config options

* remove pear dev references

* fix headings and typo
2024-09-25 09:17:19 +02:00
Vivek Singh
911cf1bda7 add guide to README and SUMMARY 2024-09-23 18:32:14 +05:30
Vivek Singh
655f425a5b guide for creating pear init templates (#141)
* first draft

* create guide draft

* add assets for guide

* remove __main__ file, add note

* fix quotes
2024-09-20 13:37:48 +02:00
Vivek Singh
200a55150e add draggable title bar info in guide (#140)
* update guide

* wrap pear-ctrl in titlebar

* adjusted mac pear-ctrl margin

---------

Co-authored-by: rafapaezbas <rafaelpaezbastida@gmail.com>
2024-09-17 18:11:30 +02:00
annadevile
ccb62402a8 Fix sentence hyperdht.md (#138)
Servers can be run on normal home computers, as the DHT will UDP holepunch connections are personal to users.
-->
"You can run servers on normal home computers, as the DHT will UDP holepunch connections for you."
2024-09-13 10:58:54 +02:00
HDegroote
5da6fb2460 Don't mention hyperswarm in 2-peer example about HyperDHT (#137) 2024-09-13 10:46:59 +02:00
d61b292b-2859-4ed6-8c7c-b7397ad8e351
2d315baaa7 Update api.md (#136) 2024-09-13 10:26:51 +02:00
Jan Keith Darunday
6f5cd6c8ae Add documentation about http(s)://* whitelists (#135) 2024-08-27 14:50:35 +02:00
Vivek Singh
3817bff892 Update guides (#134)
* update desktop guide

* update pear terminal guides

* fixes

* fix ctrl-c for example terminal app

* use SIGINT on readline close

---------

Co-authored-by: rafapaezbas <rafaelpaezbastida@gmail.com>
2024-08-27 12:15:39 +02:00
Vivek Singh
ec51b8697a fix pear worker 2024-08-27 15:16:21 +05:30
Vivek Singh
4ae59c9621 add deprecation note to pear dev 2024-08-27 15:11:54 +05:30
rafapaezbas
01cf095103 Merge branch 'main' into live 2024-08-22 17:57:19 +02:00
Vivek Singh
884211abcb Release alignment (#133)
* update pear worker

* update pear dump

* update pear run

* update pear versions

* typo fix

* update pear wakeups

* fix

* fix pear versions

* fix cli
2024-08-22 14:14:14 +02:00
Vivek Singh
7d3d279059 simplify bare overview 2024-08-20 15:22:36 +05:30
d61b292b-2859-4ed6-8c7c-b7397ad8e351
b11083fc8d Fix typo (#130) 2024-08-20 14:18:50 +05:30
rafapaezbas
74a3e1a3f6 fix pear worker docs (#129) 2024-08-15 19:12:03 +02:00
d61b292b-2859-4ed6-8c7c-b7397ad8e351
928bb27b3e Fix dependencies (#128)
Add `hyperbee` to installed packages

Remove `debounceify` since it's not used
2024-08-15 14:18:53 +02:00
d61b292b-2859-4ed6-8c7c-b7397ad8e351
6b7ca689cb Fix URL fragment (#127)
Link to join method was broken
2024-08-14 13:13:54 +02:00
Vivek Singh
1a4f97138f fixes (#126) 2024-08-14 10:39:34 +02:00
Md Tanjin Alam
e28cf00b10 Fixed command-line argument parameter parsing across files from process.argv[2] to process.argv[3] (#115) 2024-08-14 09:52:15 +02:00
d61b292b-2859-4ed6-8c7c-b7397ad8e351
c2de1e14d8 Fix typo (#125) 2024-08-14 09:50:01 +02:00
Sean Zellmer
ca36ca514c Adjust hyperswarm example to pass topic arg directly (#112)
Added explicit `.` for the first run of the app to make it more obvious
that the second run of the app is just passing the topic instead of
automatically generating one.
2024-08-14 09:48:25 +02:00
Vivek Singh
ad3f757d8d update pear-init (#121) 2024-08-05 15:37:50 +02:00
Vivek Singh
731249d588 add more context to pear.links (#120) 2024-07-25 18:23:22 +05:30
Vivek
9990a5fd30 add more context to pear.links 2024-07-25 18:17:42 +05:30
rafapaezbas
d57bc801c8 Merge branch 'main' into live 2024-07-19 13:03:14 +02:00
Vivek Singh
822978d2ab fixes and add more context to pear links (#117) 2024-07-19 13:02:14 +02:00
rafapaezbas
522f7b807a Merge branch 'main' into live 2024-07-19 12:42:46 +02:00
Vivek
bcd322c1cb fix install link 2024-07-19 16:06:52 +05:30
rafapaezbas
600dc4d8ed Merge branch 'main' into live 2024-07-16 17:01:02 +02:00