Code Monkey home page Code Monkey logo

voila-cowork's Introduction

Cowork

TODO

  • Need to run a separate server, (e.g. jupyter dash comments dot com) - Need to test: using external server, can notebooks rendered on GitHub show comments? - Server running in the notebook needs access to database (for local development) - Users can run their own server or use public one (free for open source?) - Allow users to run their own server.
  • Rename to jupyter-comments (module name jupyter_comments)
  • Support deleting comments
  • Support editing comments
  • Render comment message as markdown
  • Option to render comments when notebook is converted to HTML?
  • Strip the <head> from the comments embedded in voila page
  • How to mention people? - Use "@gjenks" like Slack
  • Add /manage type endpoint/function for viewing all documents/topics

Example

import cowork

cowork.setup(
    'Latency-Analysis',
    database='sqlite3:///tmp/Latency-Analysis.sqlite3',
)
# Initialize database
# Start the WSGI server in the background (Tornado)
cowork.comments('Histogram-Code-Review-Latency')
# Emit Javascript that polls server for comments

Ideas

Google Docs

  • How to be like Google Docs? - Idea: two-way data binding with Google Docs.

    • Copy images to Google Doc and support syncing.
  • Converting to HTML, uploading to Drive, and then opening with Docs did not work. - $ jupyter nbconvert --to html --no-input --no-prompt Test-Analysis.ipynb - But copy/paste from web page to Docs works.

    • But replacing all content will remove comments from others.
  • How to upload image through Docs API?

Slack

Isso

from IPython.core.display import HTML
script = '''
<script data-isso="//localhost:8080/"
        data-isso-reply-to-self="true"
        data-isso-require-author="false"
        data-isso-require-email="false"
        data-isso-avatar="false"
        src="//localhost:8080/js/embed.min.js"></script>
<section id="isso-thread"></section>
'''
HTML(script)

voila-cowork's People

Contributors

grantjenks avatar

Watchers

 avatar James Cloos avatar  avatar

voila-cowork's Issues

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.