Skip to content

Research viability of direct hooks into Overleaf #10

@wrongu

Description

@wrongu

Current git-based design

Pros

  • able to get it up and running instantly
  • don't need to know anything about overleaf document models, javascript, and all that jazz. Just need to be able to read/write files using python.
  • easy enough to "trigger" AI suggestions with % @ai: do a thing for me syntax
  • all requests are initiated on our end. no need to worry about websockets or accepting incoming updates from overleaf

Cons

Hypothetical direct integration with overleaf

Speculative pros

  • overleaf is open source
  • maybe able to get the assistant to appear as a collaborator in the doc / give other visual indications
  • maybe able to use "suggestions" and "comments" rather than just edits
  • maybe get access to cursor position
  • maybe get access to the document model and history directly
  • maybe able to debounce user edits more directly / hook into however overleaf already does this (e.g. with their spell-checker)

Speculative cons and things to look into

  • despite being open source, they don't appear to have docs about their own api. we'd have to invest a bit of time in reverse-engineering things / familiarizing ourselves with it
  • can we still do it in our own python server, or will there be tons of CORS / auth issues? For comparison, writefull is all javascript. But unclear if this is because they're opting for a browser plugin model or if this is necessary.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions