Code Monkey home page Code Monkey logo

babble's Introduction

A Shoutbox style plugin for Discourse.

Code Climate Gitter

Currently still under development!

Installation:

  • Edit your web template and add the project clone url. (https://meta.discourse.org/t/install-a-plugin/19157)
  • Rebuild your web container so that the plugin installs.
  • In your Discourse setup, ensure that the option "allow uncategorized topics" is checked, otherwise the babble topic creation step you need to perform WILL fail.
  • Enter your running web container and launch the rails console.
    • [sudo] ./launcher enter web
    • rails c
  • In the rails console, enter: Babble::Topic.create_topic("your_babble_topic_name")
    • You should get green text in response to the above command.
  • Exit the console by typing 'exit'. Exit the container by typing 'exit' again.

Things that work great:

  • Sending messages to other clients
  • Live updating of chat window with new messages
  • Scrolling of window when opening dropdown / new messages come in
  • Updating unread counter when a new message comes in
  • Updating the read counter in the backend when posts are read
  • Live updating the unread counter when posts are read

Things that work not-great:

  • Need to identify which stats are being updated (post count etc.), and which stats should be updated
  • Chat responsiveness is still slower than I'd like
  • Likely other things; let me know!

Things that I'd like to add:

  • Pagination (likely load previous page)
  • Editing a recent post of yours
  • Allowing user to mute chat notifications
  • Adding a context switcher to allow for multiple chat threads
  • Post timing tracking

Pull requests welcome! See CONTRIBUTING.md

You can view some ongoing discussion about this plugin on Discourse Meta

babble's People

Contributors

gdpelican avatar gtanczyk avatar joesey avatar miguelangellv avatar teejo75 avatar

Watchers

 avatar  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.