Git Product home page Git Product logo

foamdemo's Introduction

3box Chats on Foam Food Map

Decentralized chat threads on Foam map for NYC restaurants. Click on a restaurant location and see what people have said using 3box.js message threads and food data from Foam.

Pre-alpha version - please report bugs and make feature requests.

Motivation

Foam provides decentralized spatial data for points on earth. Using Foam's smart contracts and exposed APIs we can already begin to construct decentralized versions of services like Yelp. 3box.js is a good match as it lets us easily build profiles for ethereum users and store information without centralized servers.

Next Steps

This application is intended to be used as a demo. It shows that with minimal development work we can already create decentralized threads that can be used to review restaurants around New York. More features are required to make an application like this scalable and secure:

  • Better reputation systems : need a way to prevent spam and identify which users are reporting true information
  • Moderation system : need a way to consume posted data and filter based on what users find most valuable
  • UX : obviously one thread per restaurant would get pretty crowded pretty quick. We need better UX on the message threads to display recent information, most valuable comments, and profile information
  • Performance : need load performance improvements for websocket fetches and live chat feeds

Known Bugs and Requests

Better aync thread fetching. Memory usage is high - could improve connections to 3box and 3box.js Space storage. Better clicking on restaurant names.

Available Scripts

Users must have Metamask to use.

In the project directory, run:

npm install then npm start to run the app in the development mode.

Open http://localhost:3000 to view it in the browser.

Tools

Foam api - https://f-o-a-m.github.io/foam.developer/examples/foam_map_api.html
3box.js - https://github.com/3box/3box-js\

License

MIT License

foamdemo's People

Contributors

ianlapham avatar

Watchers

James Cloos avatar

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.