Skip to content

Webdiff as a standalone web service #255

@grozadanut

Description

@grozadanut

I see that currently webdiff is used as a command line tool. I am wondering whether with the current architecture it would be possible to use webdiff as a standalone web service or UI where users can upload two files for comparison?

This would mean that webdiff needs to run inside docker as a persistent running application, is that possible?

As context, I imagine the following case as a starting point:

  1. Third party app retrieves 2 versions of a text file(eg. an old SOP and a new one with updated instructions).
  2. Third party app passes the files to webdiff and webdiff returns a unique url(the url could expire after a certain period, like 24 hours, after which the files are cleaned from webdiff).
  3. Third party app passes the url to the end user.
  4. End user opens the url and sees the differences in the webdiff UI.

I would be open to work on this PR if given some guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions