Use Diff Patch Generator without a complicated workflow.
Create simple unified diff-style patches from original and changed text blocks. This registration is prepared for a browser-side JavaScript UI, so no Python/API processing is required when the UI is implemented.