Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples to add #61

Open
chicoxyzzy opened this issue Mar 13, 2023 · 11 comments
Open

Examples to add #61

chicoxyzzy opened this issue Mar 13, 2023 · 11 comments
Labels
enhancement New feature or request

Comments

@chicoxyzzy
Copy link
Member

chicoxyzzy commented Mar 13, 2023

We need a few examples which I think we can split into 3 groups:

  1. simple universal examples like TodoMVC
  2. simple examples which show how to work with a particular feature:
    • windows on desktop (an app with the Settings window)
    • FS (?)
    • Node backend (http server?)
    • p2p (background color change on click from any peer)
  3. something more advanced for the showcase, like adding collaborative capabilities to existing apps

In the next two weeks I'm going to focus on groups 1 and 2, cause I think it will be more useful in the short term

Please share your ideas for the apps here or post links to opensource projects that we can wrap into Socket Runtime (cc @getify)

@chicoxyzzy chicoxyzzy added the enhancement New feature or request label Mar 13, 2023
@wujekbizon
Copy link

Hi @chicoxyzzy , I was thinking, maybe we can use my application socket-life-counter as one of the examples from group 1. It's a simple application, I took one of my first apps I wrote in vanilla JS, and convert it to socket app. Most of functionality it's implemented , of course it's not completely finished, some more work needs to be done. It's using react template also got redux included , typescript added. Now, I'm only w8ing for p2p been enabled, so I can start sharing this app across all devices. What do you think ?

@mribbons
Copy link

mribbons commented Mar 14, 2023

Hey @wujekbizon, what is the premise of the life-counter app? Where can we find the original?

@wujekbizon
Copy link

Hey @wujekbizon, what is the premise of the life-counter app? Where can we find the original?

It's an app, for counting life total in card games like Magic The Gathering. You can set timer , name a player. Really basic things.
the code can be found github-code. There is also live version to be found https://js-lifecounter.vercel.app/

@wujekbizon
Copy link

I do have also simple shopping list wrote in React, shopping list

@mribbons
Copy link

Hey @wujekbizon, what is the premise of the life-counter app? Where can we find the original?

It's an app, for counting life total in card games like Magic The Gathering. You can set timer , name a player. Really basic things. the code can be found github-code. There is also live version to be found https://js-lifecounter.vercel.app/

Does it rely on any network capabilities?

@wujekbizon
Copy link

Hey @wujekbizon, what is the premise of the life-counter app? Where can we find the original?

It's an app, for counting life total in card games like Magic The Gathering. You can set timer , name a player. Really basic things. the code can be found github-code. There is also live version to be found https://js-lifecounter.vercel.app/

Does it rely on any network capabilities?

In its current form , no.
Are you looking for examples, that are using, let's say, connection to DB , or server ?

@heapwolf
Copy link
Member

@wujekbizon this looks really good but I think using the todo-mvc apps will provide the most familiar context for the largest possible audience.

@wujekbizon
Copy link

@wujekbizon this looks really good but I think using the todo-mvc apps will provide the most familiar context for the largest possible audience.

Yes, you are 100% right.

@getify
Copy link

getify commented Mar 14, 2023

@getify
Copy link

getify commented Mar 14, 2023

other "local-first" app ideas -- actually, "local-only" in that they're only only for your own "personal cloud" of devices -- that I would like to make for showing off socket:

  • distributed credentials management -- like 1password/etc, but where you can "store" all your secrets (encrypted, of course) out in the global peer network cache (just simply re-broadcasting every 24-48 hrs, etc). of course, it's also local on your device, but by also being replicated in the network, it ensures your credentials can be synced between all your devices, and also acts as a "backup" in case your device is lost. obviously, there's a chicken-and-the-egg problem here about how you protect your "master secret" that encrypts/decrypts your credentials store. but I have some ideas about how to handle that.

    • note: this shows off using the network, but is not designed for user-to-user interaction
    • it would also show off using bluetooth/nfc for local-device-sync of secrets
  • distributed clipboard -- I already built this simple tool at https://copythat.to which lets you securely synchronize copy/paste of text across any device, by storing the encrypted data in a gist in your oauth-authenticated github account. But I would like to wrap this in socket and have it work fully P2P with no need for github.

    • note: this shows off using the network, but is not designed for user-to-user interaction
    • it would also show off using bluetooth/nfc for local-device-sync of secrets
  • personal mental health tracker -- probably self explanatory as to why this is data you'd like to keep in an app on your device(s) but never have any intent to share that data with others (and especially not a cloud server of some company).

@chicoxyzzy
Copy link
Member Author

Another app example: tailwind

@chicoxyzzy chicoxyzzy changed the title Examples 2.0 Examples to add Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants