Skip to content

Commit

Permalink
tries to reuse old benchmark tool (#58)
Browse files Browse the repository at this point in the history
* Bazel fixes (#31)

* bazel fixes

* πŸ”„ "bazel fixes
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@4667433

* πŸ”„ "fix duplication"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b47ef1d

* πŸ”„ "bazel fixes (#13)

* bazel fixes

* fix duplication"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@8f4ee52

* trunk changes (#32)

* trunk changes

* πŸ”„ "make trunk available on all repos
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@74157db

* make cron run on all days

* πŸ”„ "make cron run on all days
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a820a79

* πŸ”„ "The Trunk and new server PR (#14)

* make trunk available on all repos

* make cron run on all days"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@35e3cfb

* Use SQLite for persistence (and Rust for handling the SQL) (#30)

* rust

* πŸ”„ "rust
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@2e750a5

* make diesel build

* πŸ”„ "make diesel build
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@88a2669

* install cxx

* πŸ”„ "install cxx
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e8ad28b

* rust calls cpp!!!

* πŸ”„ "rust calls cpp!!!
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@8b25f13

* and cpp calls rust!!!

* add cxx.path to allow Queryable in the ffi

* πŸ”„ "add cxx.path to allow Queryable in the ffi
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@33d83d2

* modify daemon-rs

* add db schema

* πŸ”„ "add db schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@197c94f

* build outside client

* πŸ”„ "build outside client
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@17d4149

* new schema!

* things finallyyyy seem to work

* make things work

* things are going forward but no end in sight

* more progress

* more changes!!!! not much is needed now

* fix some compiler errors

* more rust, more sqlite, more typesafety, more compiler errors

* finish the sending part ????

* fix some compiler errors

* fix more compiler errors

* things are mostly implemented on the transmitter side now

* some fixes

* πŸ”„ "some fixes
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@8e37391

* cpp compiles

* πŸ”„ "add cxx.patch
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@ce57aac

* πŸ”„ "upd cxx.patch
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@bc68c5c

* more fixes

* IT COMPILES

* πŸ”„ "IT COMPILES
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@dfadfe4

* add diesel-cli

* πŸ”„ "add diesel-cli
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@f3ca6ff

* diesel cli

* implements friend address and random friends

* πŸ”„ "implements friend address and random friends
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@55d662f

* added the actions

* start migrations

* migrations work!!!

* send_chunk works!

* change and to two filters

* fix daemonrpc

* start fixing daemon-rpc

* fixed the crypto tests

* implement register!

* finally a sane structure. Created db folder

* use structured logging principles

* remove db.hpp

* implement more daemon rpc methods!!

* πŸ”„ "implement more daemon rpc methods!!
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@891074c

* implement delete_friend

* start implementing sendmessage

* implement send message

* start getmessages

* fix db errors

* format weird

* implement getmessages

* πŸ”„ "implement getmessages
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@5526ed9

* update with rustfmt

* does not compile sorry

* compiles again!!

* πŸ”„ "compiles again!!
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@4b63ae2

* updated deps. Add clap to rust for CLI

* πŸ”„ "updated deps. Add clap to rust for CLI
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@32df434

* everything is done!!!!

* πŸ”„ "everything is done!!!!
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@919c6e6

* updated deps. remove clap

* πŸ”„ "updated deps. remove clap
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@d602597

* rename

* we can have rust tests now!

* we can actually have rust tests now!

* first test

* TEST 1 WORKED

* πŸ”„ "TEST 1 WORKED
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@7d443a6

* πŸ”„ "remove dev lock
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@d0bf9fc

* get rid of compiler errors

* remove copilot comments

* make tests work as a lib!

* first integration work!

* πŸ”„ "Merge branch 'main' into rust"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@c7352d3

* make linters happy

* make build happy

* consistent logging!!

* tests build!

* trunk fmt

* all client tests pass

* crypto needs to depend on grpc...

* implement queue message !

* implement get_received_messages

* use cool diesel features'

* implement everything!!!!

* fix bug!

* fix bug

* all tests pass :)

* delete daemon-old!!!!

* remove old linter

* fix unix address

* update gui schema

* fix all bugs!

* fix urgent todo

* fix test

* make the .gitignore more consistent

* trunk fmt

* rust linting cleanup

* rust linting done. All fixes complete

* trunk fmt

* trunk rusttoml fix

Co-authored-by: Sualeh Asif <[email protected]>

* πŸ”„ "Use SQLite for persistence (and Rust for handling the SQL) (#12)

* rust

* make diesel build

* make diesel build

* install cxx

* rust calls cpp!!!

* add cxx.path to allow Queryable in the ffi

* add db schema

* build outside client

* some fixes

* add cxx.patch

* upd cxx.patch

* more fixes

* IT COMPILES

* add diesel-cli

* implements friend address and random friends

* implement more daemon rpc methods!!

* implement getmessages

* compiles again!!

* updated deps. Add clap to rust for CLI

* everything is done!!!!

* updated deps. remove clap

* TEST 1 WORKED

* remove dev lock

Co-authored-by: Sualeh Asif <[email protected]>"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@5b31528

* update bazel version

* πŸ”„ "update bazel version
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@d222508

* πŸ”„ "Add profiler (#15)

* build formatters

* update asphr-load-2

* update with airbnb version of rules_foreign_cc

* update where rules is called

* reset where the toolchains are

* reorder commands

* remove airbnb shit

* perf works atleast

* remove airbnb

* trunk fmt

Co-authored-by: Sualeh Asif <[email protected]>
Co-authored-by: Ubuntu <[email protected]>"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@ca33434

* πŸ”„ "circles are a new component (#17)

"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@be04870

* We now have background circles in the style of our logo. (#34)

* circles are a new component

* πŸ”„ "circles are a new component
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@9455529

* responsive for the most part.

* remove dead code

* fix a selectable list bug?

* πŸ”„ "Merge branch 'main' of github.com:anysphere/asphr into sualeh/Background
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@ffcdb23

* remove gitignored file

Co-authored-by: Arvid Lunnemark <[email protected]>

* Real world testing (#35)

* fix install script

* fix even more install things

* Update email contact

* Fix daemon freeze (#39)

* c++ main function should not return anything

* wrap main function in robust error handling

* kill should be more forceful

* make daemon kill immediate'

* call transmitter in thread, have a main thread that monitors the health of other threads'

* do grpc status checks

* add timeouts to grpc requests

* use std exit 0

* remove unlock

* explain why alive() returns true.

Co-authored-by: Sualeh Asif <[email protected]>

* more helpful error message

* temporarily remove buildbuddy because wifi is slow

* πŸ”„ "temporarily remove buildbuddy because wifi is slow
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@bb5afae

* Friends! (#37)

* πŸ”„ "add story to public id response
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@6dbadec

* Public identifier (#38)

* implement base58

* implement identifier

* πŸ”„ "implement identifier
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@15117f2

* πŸ”„ "Public identifier (#18)

* add identifier.proto

* implement base58

* implement identifier"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@f8a52a0

* πŸ”„ "Merge branch 'main' into friends
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b4b457d

* Implement friend acking (#41)

* update message.proto with control message

* πŸ”„ "update message.proto with control message
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e92e27b

* handle control message properly

* πŸ”„ "handle control message properly
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@420185b

* check for ack of control message

* πŸ”„ "check for ack of control message
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@fd692ae

* normal message shall not be control message

* make compile (almost)

* πŸ”„ " Implement friend acking (#21)

* update message.proto with control message

* handle control message properly

* check for ack of control message"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@5cdc265

* Async friending schema (#36)

* rename kx_key

* rewrite crypto in the new protocol

* πŸ”„ "rewrite crypto in the new protocol
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@49b488b

* DB change complete

* πŸ”„ "redesign daemon schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@96073e4

* πŸ”„ "fix typo
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@1b0185f

* πŸ”„ "add story to sync friend request
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@0485f68

* configure server for async requests

* πŸ”„ "configure server for async requests
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a0458e2

* add public_id to database

* check point. Most of the code compiles

* checkpoint. All programs build

* checkpoint: rewriting test files

* πŸ”„ "checkpoint: rewriting test files
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b60891f

* πŸ”„ "Merge remote-tracking branch 'origin/friends' into async_friending_schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b56fda2

* checkpoint in merging friend

* weird bug. debugging

* mystery bug resolve. Do not call set_allocated()

* checkpoint: another bug

* update workspace

* add linkstatic

* finally builds correctly

* checkpoint: use standard logging

* add friend workinggit ca add

* πŸ”„ "add friend workinggit ca add
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@c64027e

* πŸ”„ "Merge remote-tracking branch 'origin/friends' into async_friending_schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@45a1a19

* add outgoing_friend_request

* remove comment from crypto'

* fix bug in crypto

* fix bug

* fix daemonrpc bug

* add identifier

* correct mistake in key exchange

Co-authored-by: Shengtong Zhang <[email protected]>

* πŸ”„ "Async friending schema (#22)

* configure server for async requests

* checkpoint: rewriting test files

* add friend workinggit ca add

Co-authored-by: Shengtong Zhang <[email protected]>"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a0a42dc

* remove rust warning

* fix tests

* change api

* πŸ”„ "change api
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@7f257f9

* update protos

* add sync test

* πŸ”„ "add sync test
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@6f74e52

* πŸ”„ "push without compile
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e0bbbc1

* make compile

* some things only if registered

* use enums instead of integer constants

* πŸ”„ "use enums instead of integer constants
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b54435f

* it builds!

* daemon.protoo changes

* πŸ”„ "daemon.protoo changes
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@785fc95

* update daemon-js protos

* daemon.proto has been fully sualeh-ified

* async partitions and a basic test passes

* πŸ”„ "async partitions and a basic test passes
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e32c1b6

* πŸ”„ "update proto. time for disaster to happen. Gooddddd luck
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@778e942

* update protos. We are good.

* πŸ”„ "update protos. We are good.
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e0d9a9d

* πŸ”„ "update protos for Invitation Progres
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@32a45d0

* fix tests

* πŸ”„ "replace friend_request -> invitation on server
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@7cf56b7

* added test for people being in different blocks

* Friends implementation (#42)

* merge friends

* πŸ”„ "change to system message
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@4415feb

* make transmitter use the new db types

* finish transmitter changes

* it builds

* πŸ”„ "it builds
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@209b037

* it builds!

* it builds!

* outgoing async and sync now done

* it builds!

* it builds!

* it builds!

* it builds!

* it builds!

* it builds!

* it builds!

* fix warnings

* add check_rep

* some changes with errors

* make build

* initial tests passing!!!

* πŸ”„ "initial tests passing!!!
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@cd37145

* πŸ”„ "Friends implementation (#23)

* change to system message

* it builds

* initial tests passing!!!"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@f5f22e7

* fix bug!

* add more check_rep consistency constraints

* more checkrep!

* revamp crypto

* πŸ”„ "revamp crypto
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a156ca9

* add even more check_rep

* more checkrep!!! i love checkrep

* replace all remaining friend_request with invitation, and rewrite some logic in daemon

* many more check rep

* add check_rep comment

* update comment

* even more checkreppp

* even more checkrep

* add a few anyhow errors

* test passes

* all test passes

* use fail

* fmt all

* πŸ”„ "fmt all
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@fcb3ca1

* add license notice

* linting fix

* add license notices

* πŸ”„ "add license notices
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@bdccc65

* more format fixes

* πŸ”„ "more format fixes
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@4e46b68

* add asyncinvitation proto and additional check

* πŸ”„ "add asyncinvitation proto and additional check
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@64137a2

* updates

* it compiles

* πŸ”„ "it compiles
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@c7fcff2

* update comments

* comment on tests

* remove some nouns

* remove TODO checks from google

* use asphr assert

* document base58 with static_assert

* base58 test works!

* bitcoin base58 test works

* comments on major functions, part1

* manual test rename

* comments on major functions, part 2

* clean up comment

* don't assert false because another user did the wrong thing

* update until chunk handling. Comments Part 3

* add comment

* update chunk_to_send docs. Comments part 4

* update transmitter to remove unused variable

* update some helper docs.

* fix receive_ack

* dont assert false if bad input

* update until invitations. Comments Part 6

* remove todo

* fix merge conflict

* small reg not big reg

* add comment

* remove backticks

* fix lex

* no match

* make db.rs compile

* move comment to docstring

* update comments

Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>

* πŸ”„ "Friends! (#20)

* rewrite crypto in the new protocol

* redesign daemon schema

* fix typo

* add story to sync friend request

* add story to public id response

* Public identifier (#18)

* add identifier.proto

* implement base58

* implement identifier

* Implement friend acking (#21)

* update message.proto with control message

* handle control message properly

* check for ack of control message

* Async friending schema (#22)

* configure server for async requests

* checkpoint: rewriting test files

* add friend workinggit ca add

Co-authored-by: Shengtong Zhang <[email protected]>

* change api

* add sync test

* push without compile

* use enums instead of integer constants

* daemon.protoo changes

* async partitions and a basic test passes

* update proto. time for disaster to happen. Gooddddd luck

* update protos. We are good.

* update protos for Invitation Progres

* replace friend_request -> invitation on server

* Friends implementation (#23)

* change to system message

* it builds

* initial tests passing!!!

* revamp crypto

* fmt all

* add license notices

* more format fixes

* add asyncinvitation proto and additional check

* it compiles

Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@27c4710

* add tailwind types

* Add friend UI different (#43)

* πŸ”„ "add story to public id response
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@6dbadec

* Public identifier (#38)

* implement base58

* implement identifier

* πŸ”„ "implement identifier
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@15117f2

* πŸ”„ "Public identifier (#18)

* add identifier.proto

* implement base58

* implement identifier"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@f8a52a0

* Let the ID of the selectable list be a number or string

* start

* start

* πŸ”„ "Merge branch 'main' into friends
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b4b457d

* Implement friend acking (#41)

* update message.proto with control message

* πŸ”„ "update message.proto with control message
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e92e27b

* handle control message properly

* πŸ”„ "handle control message properly
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@420185b

* check for ack of control message

* πŸ”„ "check for ack of control message
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@fd692ae

* normal message shall not be control message

* make compile (almost)

* πŸ”„ " Implement friend acking (#21)

* update message.proto with control message

* handle control message properly

* check for ack of control message"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@5cdc265

* Async friending schema (#36)

* rename kx_key

* rewrite crypto in the new protocol

* πŸ”„ "rewrite crypto in the new protocol
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@49b488b

* DB change complete

* πŸ”„ "redesign daemon schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@96073e4

* πŸ”„ "fix typo
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@1b0185f

* πŸ”„ "add story to sync friend request
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@0485f68

* configure server for async requests

* πŸ”„ "configure server for async requests
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a0458e2

* add public_id to database

* check point. Most of the code compiles

* checkpoint. All programs build

* checkpoint: rewriting test files

* πŸ”„ "checkpoint: rewriting test files
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b60891f

* πŸ”„ "Merge remote-tracking branch 'origin/friends' into async_friending_schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b56fda2

* checkpoint in merging friend

* weird bug. debugging

* mystery bug resolve. Do not call set_allocated()

* checkpoint: another bug

* update workspace

* add linkstatic

* finally builds correctly

* checkpoint: use standard logging

* add friend workinggit ca add

* πŸ”„ "add friend workinggit ca add
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@c64027e

* πŸ”„ "Merge remote-tracking branch 'origin/friends' into async_friending_schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@45a1a19

* add outgoing_friend_request

* remove comment from crypto'

* fix bug in crypto

* fix bug

* fix daemonrpc bug

* add identifier

* correct mistake in key exchange

Co-authored-by: Shengtong Zhang <[email protected]>

* πŸ”„ "Async friending schema (#22)

* configure server for async requests

* checkpoint: rewriting test files

* add friend workinggit ca add

Co-authored-by: Shengtong Zhang <[email protected]>"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a0a42dc

* remove rust warning

* modal now supports large

* fix scrolling

* fix tests

* start exposing functions for add-friend:

* change api

* πŸ”„ "change api
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@7f257f9

* update protos

* updated protos

* add sync test

* πŸ”„ "add sync test
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@6f74e52

* πŸ”„ "push without compile
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e0bbbc1

* update protos for addSyncFriend

* make compile

* some things only if registered

* update protos again

* use enums instead of integer constants

* πŸ”„ "use enums instead of integer constants
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b54435f

* it builds!

* daemon.protoo changes

* πŸ”„ "daemon.protoo changes
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@785fc95

* update daemon-js protos

* fix preload

* daemon.proto has been fully sualeh-ified

* fix the proto disaster

* checkpoint: deprecate APIs

* async partitions and a basic test passes

* πŸ”„ "async partitions and a basic test passes
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e32c1b6

* πŸ”„ "update proto. time for disaster to happen. Gooddddd luck
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@778e942

* update protos. We are good.

* πŸ”„ "update protos. We are good.
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e0d9a9d

* πŸ”„ "update protos for Invitation Progres
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@32a45d0

* fix tests

* πŸ”„ "replace friend_request -> invitation on server
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@7cf56b7

* added test for people being in different blocks

* update protos for the ts

* all relevant APIs for contextBridge are implemented.

* Friends implementation (#42)

* merge friends

* πŸ”„ "change to system message
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@4415feb

* make transmitter use the new db types

* finish transmitter changes

* it builds

* πŸ”„ "it builds
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@209b037

* it builds!

* it builds!

* outgoing async and sync now done

* it builds!

* it builds!

* it builds!

* it builds!

* it builds!

* it builds!

* it builds!

* fix warnings

* add check_rep

* some changes with errors

* make build

* initial tests passing!!!

* πŸ”„ "initial tests passing!!!
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@cd37145

* πŸ”„ "Friends implementation (#23)

* change to system message

* it builds

* initial tests passing!!!"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@f5f22e7

* fix bug!

* add more check_rep consistency constraints

* more checkrep!

* revamp crypto

* πŸ”„ "revamp crypto
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@a156ca9

* add even more check_rep

* more checkrep!!! i love checkrep

* replace all remaining friend_request with invitation, and rewrite some logic in daemon

* typescript now has no type errors

* many more check rep

* add check_rep comment

* update comment

* even more checkreppp

* starting merge with friends

* update a TON of dependencies to latest commits.

* πŸ”„ "update a TON of dependencies to latest commits.
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@7fee8bf

* update daemon_pb.js

* πŸ”„ "update daemon_pb.js
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@0b02484

* πŸ”„ "rules_proto_grpc doesnt build off master??
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e8a3578

* story Component

* story component update to use numberOfLines

* update readme

* add story command

* update with a real story

* different ui

* fix all old UI

* reformat

* each other

* add rng

* add eslint

* add eslint-react

* copy daemon

* copy schema

* πŸ”„ "Merge branch 'main' into add-friend-ui-different"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@7017ebe

* fix things

* πŸ”„ "fix things
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@6323fdd

* update daemon proto

* add framer motion

* add preliminary animation

* no blur

* big circles

* small css changes

* make eslint less annoying

* fix duration bugs

* fully implement addsyncfriend

* initial async page

* able to send to outgoing friend in the UI

* remove autofocus

* add add gui cmd

* fix db problems

* fix streaming problems and add a regression test

* fix type problems

* remove todo

* fix the UI

* run trunk fmt

* clean up preload

* fix the type of the daemon api in preload.ts

* use registerUser not register

* fix access key form box

* fix missing return type

* fix more eslint errors

* add update-rust-project script

* busy timeout!

* πŸ”„ "fix trunk fmt
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@6ccc8a4

* getcolor string

* remove trunk linters

* explain animations

* add comment:

* add seed log

* sort the array

* fix spaces between sentences

* remove stupid at most 1 friend debugging thing

* refactor the story list component

* add unimplemented method

* remove legacy friend

Co-authored-by: Sualeh Asif <[email protected]>
Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>

* πŸ”„ "Add friend UI different (#25)

* rewrite crypto in the new protocol

* redesign daemon schema

* fix typo

* add story to sync friend request

* add story to public id response

* Public identifier (#18)

* add identifier.proto

* implement base58

* implement identifier

* Implement friend acking (#21)

* update message.proto with control message

* handle control message properly

* check for ack of control message

* Async friending schema (#22)

* configure server for async requests

* checkpoint: rewriting test files

* add friend workinggit ca add

Co-authored-by: Shengtong Zhang <[email protected]>

* change api

* add sync test

* push without compile

* use enums instead of integer constants

* daemon.protoo changes

* async partitions and a basic test passes

* update proto. time for disaster to happen. Gooddddd luck

* update protos. We are good.

* update protos for Invitation Progres

* replace friend_request -> invitation on server

* Friends implementation (#23)

* change to system message

* it builds

* initial tests passing!!!

* revamp crypto

* update a TON of dependencies to latest commits.

* update daemon_pb.js

* rules_proto_grpc doesnt build off master??

* fix things

* fix trunk fmt

Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@7a3daa3

* Broadcasting messages (#45)

* broadcasting schema

* πŸ”„ "broadcasting schema
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@0d8e2e2

* πŸ”„ "schema updates. next to fix tests
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e710faf

* now, we have all the tests translated. \n Now, to write the C++ protobuf translation thing.

* πŸ”„ "now, we have all the tests translated. \n Now, to write the C++ protobuf translation thing.
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@3ca2a38

* trying to make chunks build

* it builds :) Several TODOs to be handled

* reformat build file

* fix a lot of things (but more things left to do)

* πŸ”„ "fix a lot of things (but more things left to do)
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@cda89f0

* tests pass!

* πŸ”„ "tests pass!
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@ab2b25f

* πŸ”„ "Merge branch 'main' into broadcast-v1
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@cc5ba6d

* assign unique_name correctly

* create a failing test for the broadcast

* all tests pass :)

* implement a real multiselect!

* update js proto

* make send work

* use facebook's lexical for the text input

* fix small ui bug

* fix messagelist bug

* πŸ”„ "trunk fmt
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@50c5807

* πŸ”„ "remove comment
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@699c6f0

* eslint fix

* trunk fmt

* fix schema.rs

* fix lisence problems

Co-authored-by: Sualeh Asif <[email protected]>

* πŸ”„ "Broadcasting messages (#26)

* broadcasting schema

* schema updates. next to fix tests

* now, we have all the tests translated. \n Now, to write the C++ protobuf translation thing.

* fix a lot of things (but more things left to do)

* tests pass!

* trunk fmt

* remove comment

Co-authored-by: Sualeh Asif <[email protected]>"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@b02a19c

* Version 010 (#46)

* fix weird dll error

* fix package.json

* bazel -> bazelisk'

* fix eslint bugs

* release!!

* use the correct binary

* update to version 0.1.1

* add spellchecker (#48)

* add spellchecker

* add comments to wordlist.hpp

Co-authored-by: Shengtong Zhang <[email protected]>

* Client bugfixes (#47)

* change var->let

* fix notifications and refactor

* bazelisk -> bazel

* Fix bugs! (#49)

* make things work!

* version 013

* do not install CLI on startup

* add cli instructions

* fix main

* fix readme

* remove dead code

* make sh executable again

* to-field works

* version 0.1.5

* update strategy doc

* πŸ”„ "update strategy doc
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@ca4adae

* πŸ”„ "Revert "update strategy doc"

This reverts commit ca4adae8544b394dac0cb87a07b4c919d7ad7c5c.
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@2447486

* Revert "update strategy doc"

This reverts commit f78e966.

* Markdown-ify the editor. (#51)

* make things work!

* version 013

* do not install CLI on startup

* We now have a working editor that parses some markdown and handles links

* πŸ”„ "We now have a working editor that parses some markdown and handles links
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@803f294

* fix all the type errors

* trunk update

* fix all the regex bugs.

* sent markdown instead of content.

* fixes and bug documentation.

* this pushed markdown up now. Focusing on rendering markdown now :)

* parse markdown on the end of the user too :)

* finish pr.

* all trunk fixes complete

* final comments

* fix other issues in main that are outstanding

* purifying

* πŸ”„ "We now have a working editor that parses some markdown and handles links
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@803f294

Co-authored-by: Arvid Lunnemark <[email protected]>

* Async invitation UI (#50)

* add timestamp to read message

* add anysphere

* add id animation

* add types

* dont be too smart

* small fixes

* Ui is done!

* fix some ui things

* start implementing invitations UI

* fix linter errors

* add async test

* πŸ”„ "add async test
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@0a61f23

* implement cancel invitation

* fix cancel implementation

* regenerate schema

* cancel in the UI!

* finish incoming invitations

* remove buttons

* fix text size

* trunk fmt

* update comment to reflect the code

* dont push two of the same tab

* add isvalidpublicid

* πŸ”„ "add isvalidpublicid
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@bc96d9a

* update daemon proto

* check if public id is valid

* isvalidpublicID implemented

* add license

* πŸ”„ "trunk fmt
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e28a374

* πŸ”„ "Async Invitations UI (#27)

* add async test

* add isvalidpublicid

* trunk fmt"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@8a68408

* Cleanup (#52)

* prettier fix

* fix Modal bug

* fixing some problems in tabs.tsx

Co-authored-by: Sualeh Asif <[email protected]>

* new version!

* Permissions are back to normal

* Spacing bug (#53)

* updates. most of the spacing is reslved.

* fix the spacing on the top.

Co-authored-by: Sualeh Asif <[email protected]>

* publish!

* fix link thing

* publish version 0.1.8

* Id webpage (#54)

* update idpage

* link add friend!!

* public id link should work

* finish

* fix things

* publish 0.1.9

* Tiny bug fixes (#55)

* do not show modal a hundred times

* make colors a little better (worse?)

* publish

* Fix Async Invitiations DB  (#56)

* adding some fixes to the invitations.

* πŸ”„ "adding some fixes to the invitations.
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@fe71979

* final fix removing dead code.

* fix bug

Co-authored-by: Shengtong Zhang <[email protected]>

* πŸ”„ "adding some fixes to the invitations. (#28)

"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@148b624

* version 0.1.12

* πŸ”„ "Fix the PIR potential attacks (#29)

* attacker tests

* fix the randomness

* finish index rotation

* fix all problems.

Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@69a4047

* Fix the PIR potential attacks (#57)

* test should be mostly working

* πŸ”„ "fix the randomness
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@5d62ae8

* finish index rotation

* πŸ”„ "finish index rotation
"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@18ee6bc

* πŸ”„ "fix all problems."
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@f906a71

* final commit and fixes.

Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>

* πŸ”„ "Merge branch 'sualeh/benchmarks' into performance-08/02/22"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@e4d3f9f

* πŸ”„ "Fix the PIR potential attacks (#29)

* attacker tests

* fix the randomness

* finish index rotation

* fix all problems.

Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>"
Update anysphere/asphr commit SHA
πŸ”— anysphere/asphr@69a4047

Co-authored-by: Sualeh Asif <[email protected]>
Co-authored-by: Arvid Lunnemark <[email protected]>
Co-authored-by: Shengtong Zhang <[email protected]>
Co-authored-by: Sualeh Asif <[email protected]>
Co-authored-by: Shengtong Zhang <[email protected]>
  • Loading branch information
6 people authored Aug 2, 2022
1 parent d0e468a commit ed92328
Show file tree
Hide file tree
Showing 151 changed files with 51,465 additions and 19,786 deletions.
1 change: 1 addition & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gui/node_modules
25 changes: 16 additions & 9 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

build --incompatible_enable_cc_toolchain_resolution

# this is for rules_rust
build --repo_env=RULES_RUST_TOOLCHAIN_INCLUDE_RUSTC_SRCS=true

# note: each bazelrc that try-imports this one needs to try-import the buildbuddy bazelrc but using the correct relative path
try-import %workspace%/../.buildbuddy.bazelrc

Expand All @@ -12,14 +15,14 @@ try-import %workspace%/../.buildbuddy.bazelrc
try-import %workspace%/.user.bazelrc

# setting up remote caching
build --bes_results_url=https://app.buildbuddy.io/invocation/
build --bes_backend=grpcs://remote.buildbuddy.io
build --remote_cache=grpcs://remote.buildbuddy.io
build --remote_upload_local_results
build --remote_timeout=3600
build --experimental_remote_cache_compression
build --experimental_remote_cache_async
build --remote_download_toplevel
# build --bes_results_url=https://app.buildbuddy.io/invocation/
# build --bes_backend=grpcs://remote.buildbuddy.io
# build --remote_cache=grpcs://remote.buildbuddy.io
# build --remote_upload_local_results
# build --remote_timeout=3600
# build --experimental_remote_cache_compression
# build --experimental_remote_cache_async
# build --remote_download_toplevel

build --genrule_strategy=local
# test --test_strategy=standalone
Expand Down Expand Up @@ -77,4 +80,8 @@ build:san --copt -O3
build:san --copt -fno-omit-frame-pointer
# we ignore ODR violations because we have two versions of zlib, one from protobuf and one from seal. not good. but issok.
build:san --action_env=ASAN_OPTIONS=detect_odr_violation=0
build:san --linkopt -fsanitize=address,undefined
build:san --linkopt -fsanitize=address,undefined

# Clippy for Rust
build:rust-linter --aspects=@rules_rust//rust:defs.bzl%rust_clippy_aspect
build:rust-linter --output_groups=+clippy_checks
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.2.0
2 changes: 2 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
HeaderFilterRegex: \./.+
Checks:
'*,
-cppcoreguidelines-init-variables,
-google-readability-todo,
-cert-err58-cpp,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-owning-memory,
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/linter.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Nightly
on:
schedule:
- cron: 0 8 * * 0-6
workflow_dispatch: {}

jobs:
trunk_check:
name: Trunk Check Upload
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Trunk Check
uses: trunk-io/trunk-action@v1
with:
trunk-token: ${{ secrets.CLIENT_TRUNK_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Pull Request
on: pull_request

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true

jobs:
trunk_check:
name: Trunk Check Runner
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Trunk Check
uses: trunk-io/trunk-action@v1
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ bazel-*
.user.bazelrc

.DS_Store

compile_commands.json
rust-project.json

test.db
daemon/test_*.db
2 changes: 2 additions & 0 deletions .trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
*out
*logs
external
21 changes: 13 additions & 8 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
version: 0.1
cli:
version: 0.9.3-beta
version: 0.15.1-beta
repo:
repo:
host: github.com
owner: anysphere
name: client
trunk_branch: origin/main
lint:
ignore:
- linters: [ALL]
paths:
- gui/src/daemon/schema/** # generated
enabled:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
repo:
repo:
host: github.com
owner: anysphere
name: client
trunk_branch: origin/main
- [email protected]
- [email protected]
28 changes: 28 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/../bazel-anysphere/external/**/**",
"${workspaceFolder}/../bazel-out/**/**",
"${workspaceFolder}/../bazel-bin/external/**/**",
"${workspaceFolder}/../bazel-bin/external/asphr/third_party/**/**",
"${workspaceFolder}/../bazel-out/darwin_arm64-fastbuild/bin/external/asphr/third_party/seal/copy_seal/seal/include",
"${workspaceFolder}/bazel-out/darwin_arm64-fastbuild/bin/external/**/**/**/**",
"${workspaceFolder}/bazel-out/darwin_arm64-fastbuild/bin/daemon/**/**/**/**",
"/home/gitpod/.cache/bazel/_bazel_gitpod/**",
"/private/var/tmp/_bazel_sualeh/39d7406b82f7235a3fefe5e0e301d280/execroot/__main__/bazel-out/darwin_arm64-fastbuild-ST-368686e6f71f/bin/external/asphr/third_party/libsodium/copy_libsodium_/libsodium_/include"
],
"defines": [],
"macFrameworkPath": [],
"compilerPath": "/usr/bin/clang++",
"cStandard": "c17",
"cppStandard": "c++20",
"intelliSenseMode": "${default}",
"compilerArgs": []
// "compileCommands": "${workspaceFolder}/compile_commands.json"
}
],
"version": 4
}
112 changes: 112 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,117 @@
},
"search.exclude": {
".trunk": true
},
"files.associations": {
"optional": "cpp",
"__bit_reference": "cpp",
"__bits": "cpp",
"__config": "cpp",
"__debug": "cpp",
"__errc": "cpp",
"__hash_table": "cpp",
"__locale": "cpp",
"__mutex_base": "cpp",
"__node_handle": "cpp",
"__nullptr": "cpp",
"__split_buffer": "cpp",
"__string": "cpp",
"__threading_support": "cpp",
"__tree": "cpp",
"__tuple": "cpp",
"any": "cpp",
"array": "cpp",
"atomic": "cpp",
"barrier": "cpp",
"bit": "cpp",
"bitset": "cpp",
"cctype": "cpp",
"cfenv": "cpp",
"charconv": "cpp",
"chrono": "cpp",
"cinttypes": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"codecvt": "cpp",
"compare": "cpp",
"complex": "cpp",
"concepts": "cpp",
"condition_variable": "cpp",
"csetjmp": "cpp",
"csignal": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"deque": "cpp",
"exception": "cpp",
"coroutine": "cpp",
"format": "cpp",
"forward_list": "cpp",
"fstream": "cpp",
"future": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"ios": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"latch": "cpp",
"limits": "cpp",
"list": "cpp",
"locale": "cpp",
"map": "cpp",
"memory": "cpp",
"mutex": "cpp",
"new": "cpp",
"numbers": "cpp",
"numeric": "cpp",
"ostream": "cpp",
"queue": "cpp",
"random": "cpp",
"ranges": "cpp",
"ratio": "cpp",
"regex": "cpp",
"scoped_allocator": "cpp",
"semaphore": "cpp",
"set": "cpp",
"shared_mutex": "cpp",
"span": "cpp",
"sstream": "cpp",
"stack": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"string": "cpp",
"string_view": "cpp",
"strstream": "cpp",
"system_error": "cpp",
"thread": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"typeindex": "cpp",
"typeinfo": "cpp",
"unordered_map": "cpp",
"unordered_set": "cpp",
"valarray": "cpp",
"variant": "cpp",
"vector": "cpp",
"hash_map": "cpp",
"*.tcc": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"memory_resource": "cpp",
"source_location": "cpp",
"utility": "cpp",
"rope": "cpp",
"slist": "cpp",
"stop_token": "cpp",
"syncstream": "cpp",
"*.ipp": "cpp"
}
}
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ filegroup(
name = "asphr-release",
srcs = [
"//cli:asphr",
"//daemon",
"//daemon:main",
],
)
28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Anysphere Client

This repository, along with [anysphere/asphr](https://github.com/anysphere/asphr), contains all client-side code run by Anysphere! Feel free to poke around. If you have any questions or concerns, please email us at `founders@anysphere.co`.
This repository, along with [anysphere/asphr](https://github.com/anysphere/asphr), contains all client-side code run by Anysphere! Feel free to poke around. If you have any questions or concerns, please email us at `info@anysphere.co`.

## Build

Clone anysphere/asphr and anysphere/client and put them in a directory side-by-side. Then, in the `client` directory, run:

```bash
bazel build //...
bazelisk build //...
```

to build, and

```bash
bazel test //...
bazelisk test //...
```

to test.
Expand Down Expand Up @@ -53,7 +53,7 @@ Let `.env` contain the environment variables specified by `helpers/scripts/packa
Build:

```bash
bazel build //...
bazelisk build //...
```

In one terminal, run normal daemon:
Expand All @@ -79,3 +79,23 @@ To connect to daemon 2, run:
```bash
./wrap2.sh ./bazel-bin/cli/asphr [command]
```

For the gui, run:

```bash
./wrap2.sh ./gui/start.sh
```

## Installing the CLI

Run:

```bash
sudo mkdir -p /usr/local/bin
sudo ln -sf /Applications/Anysphere.app/Contents/Resources/bin/anysphere /usr/local/bin/anysphere
cat << EOF >> ~/.zprofile
export PATH="\$PATH:/usr/local/bin"
EOF
```

Replace `.zprofile` with `.bash_profile` if you use bash instead.
Loading

0 comments on commit ed92328

Please sign in to comment.