:IF: Friends - the messenger you'll never want to move away from

:smiley: oookay - wanted to go for a secret launch via billboard - but nobody was there :sweat_smile:

Basic Usage description in the repo Readme:

to start the app

dweb open a447871043968be2be1628584026cad30b824009a30eab43db3ee6dd8c0990051c27160cc8d1662da763d57c41c091f6

and here a screenshot of me testing with myself :smiley:

tomorrow i’ll try to find someone willing to test this on a more global scale with me! :smiley:
→ once I found a tester we are officially deployed and launched (app on mainnet, account data in scratchpad; basic user guide in the description on Codeberg/Github)

I’ll throw in some themes tomorrow. since I did a largish refactor to enable not just 1 peer but having a friend-list and trying to connect to all your peers (and I did try to break up the insanely large wall of spaghetti code) the old themes broke and I’ll publish new once when they’re deployed and tested a bit better than this here :smiley:


next Steps:

  • repariring Themes (maybe making it even easier - and documenting how to create your own friends themes)
  • trying to get a reliable handshake solely via scratchpad data exchange on mainnet → optimizing timing and handshake flow
  • plugins (message-modifiers)
11 Likes

This is me, b2fc6953fb7fcddd51e2488dd8b126a09c6dbc936b76f1364a8064cca2e6eee46de95f9e53189a799826967778750cf0

9 Likes

b2bd8aa0d9be1abf2ced18973935e12a1a4a0c97790d21d9b4178852fd6b5913ce3d1793ad13201bea24acd16ad09958 :smiley:

7 Likes

#metoo

b434dee7893dfa1d44fa0601121a6567a6b96c670cd91ca37c6f6b5661e123d39eacd5f0b2861c64e2b1685a20416a1e
6 Likes

Friends is now officially deployed on main i’d say! :grinning_face_with_smiling_eyes:

ambled and i discovered some re-initialization issues that need thinking and addressing that i don’t have when i develop and re-init every chat participant anyway on local development/testing - so first next steps is optimization for real-world-use-cases and real users :slightly_smiling_face:

12 Likes

Ok, using this dweb open, even after restarting dweb, I’m getting the interface on :30518 that doesn’t store friends list. After restarting dweb, I don’t appear to be able to connect to you.

2 Likes

how strange … one moment … let me reset everything on my side and see how it behaves here

1 Like

ok, new theory.
This third instance was the first time I actually launched on the new version and I had to re-add you again, now it’s loaded you!

3 Likes

and i think my port is different because i’m not on the newest version of dweb xD …

ps: yes - now i’m on your port - you did everything right @ambled it was me xD

3 Likes

okay - we have multiple options here now.

currently friends just opens one channel between 2 users. but if you open a 2nd window of friends that doesn’t know about the first one … so your peer is happy because he’s connected and doesn’t reach out to you; but you try to reach out to him in the new window and have no idea why he’s ignoring you

Should we allow multiple parallel sessions or should there be only one?


one global friends session vs multiple open friends windows
  • there should always be only one active instance of friends. (the user can “transfer” the session or close the window)
  • i want to have more than one open window with the same account (possibly on) different machines and they should all just run in parallel
0 voters

:smiley: moving session would be simple xD multiple open channels opens a whole lot of questions and challenges =D … but as a user i somehow probably want the latter
(multiple versions of me is probably pretty much the equivalent to a multi user chat :exploding_head: so that might take some days to implement ..)

6 Likes

Sorry to vote for more work, but it’s up to you what you create! I’m looking forward to playing with this!

6 Likes

I’m actually surprised about the % that voted for the one session :smiley:

with the number of people seeming okay with the one session solution - at least for a while - my plan is as follows:

  1. bug fixing → reconnecting properly
  2. one session temporary solution to enhance the user experience until multi session is here (to implement this will probably cost me half a day max … and would already be an enhancement in UX from here)
  3. friendship requests
  4. message-modifier plugins
  5. themes optimizations
  6. multi-session / multi-user chats (<<< not super-nice to push it back that much but i suspect it to be pretty simple if we design multi-user chats with this use case in mind too)
6 Likes

Until the June 18, or what the date is for the first deadline, then one session seems great.

When posting messages on Friends does it cost ANT for every message?

2 Likes

for now there is no message-persisting - all ephemeral messages vanishing when closing the messenger again.

for the illusion of persisting i may add the option to store chats in localstorage store (then it’s only held in memory of that one browser on that one device; not synchronized across devices) but persisting chat data is not part of the roadmap.

for now the only cost involved is 2 scratchpads for account and handshaking (+profile picture upload)

i suspect message-persisting will be an option later on (e.g. writing the chat content into a message history scratchpad once per minute … and writing it into linked data blobs when reaching 4MB … just a first idea …)

friends is super (fast and) cheap to use - only connection establishment is slowed down by circumstances

3 Likes

This is me

925bdd3f1b4f21f6d143f02fdc811ca9735f73c6ad2a78b5a61acaa0282a96530fd87cddef273c8722cf5582e7d95372

3 Likes

Why is @riddim ( or anyone else) not connected?

2 Likes

the issue is they first need to add you as a contact too (as long as friends doesn’t have an friendship request system) to be able to see your offer/answer

ps: I think I need to re-enable notification-popups

4 Likes

b0b2b62903906cd08fa9bc8a92fe7934732d02d57f3692df0427e039f2c55902414140dd3a519f854b7a7c1eefc0378e
This is me. @riddim Only issue is I have to use the tab button to add friends the screen wont scroll down.

1 Like

I have to use my browser demagnify setting to see more friends on the list.

@Riddim, I keep forgetting to mention, changing themes I get an update that the theme was saved, but it never loads one.

1 Like

Yeah =/ I’ll fix that tonight - had the same issue too

The issue is that it saves the theme address but only loads it on app startup :sweat_smile: (and I wanted to slim down the themes which made early themes incompatible…) - I’ll revisit theming again and do some cleaning and clear instructions on how to create new ones in a while… Right now I went back to just default bright theme too =/
Difficult to keep the styles up to date while the app changes and stuff get added/removed..

3 Likes