Giter VIP home page Giter VIP logo

svelte-gundb-chat's People

Contributors

gressus avatar vnglst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

svelte-gundb-chat's Issues

question: how did you deploy your server?

Hi again @vnglst !

I've been trying to set up a gundb server on Heroku (the hapi server you have here), but I've been having trouble getting it to work (I'm seeing websocket handshake errors).

I noticed you had a comment:

// "https://gunjs.herokuapp.com/gun", // Don't use, unstable

Could you share what you ended up using to deploy your server at https://phrassed.com/gun?

Thanks! ๐Ÿ™

feature: add proper infinite scroll

Add infinite scroll, goal:

  • reduce initial payload (e.g. load only first couple of kb of messages)
  • add pagination to scroll through entire message history

Using RAD

gun
  .get('user')
  .get('topic')
  .get('timestamp') 
  .put('hi there!')
  • and retrieving them:
gun
  .get('users')
  .map()
  .get('topic')
  .get({ ".": { "*": "2020-05-10" }, "%": 10000 // only 10 kb of messages on 10th of May
  .map()
  .on((msg, msgId) => {
    // or maybe use once here to avoid too many listeners? ๐Ÿค” 
    // store in state
   })

Support for realtime updates, without reloads?

Hi! I'm very new to dapps, GUN, (and also Svelte), but I've been vaguely interested in both, and happened to find this project from @marknadal's tweet.

I got this project up and running super quickly, and it's gotten me super excited about learning more about GUN and building decentralized apps. Thanks for putting together such a polished chat dapp and sharing it!

I know you put this together very quickly so it's very early stage, but I was wondering whether you've thought about realtime updates over webRTC, and how you'd go about supporting that? (When I try running this in two browser windows, I have to refresh to get updates).

I kinda expected this to work with GUN out of the box.

amark/gun#766

refactor: make UI components reusable

  • Make Input confirm icon optional via prop/slot
  • Add (Start) Button on Settings screen
  • Top bar with navigation
  • in folder /ui
  • Spinner

Reorganize God component Messages

<Page>
  <Nav>
     <MessageList />
    <MessageInput />
  </Nav>
</Page>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.