Hivediff is a small python GUI that can be used to view the editing history of a post.
<p dir="auto">It uses the account history for searching all comment operations with the specified permlink. Based on the received patches, a change history is build and can be viewed. <p dir="auto"><img src="https://images.hive.blog/DQmeGCaS5easHdaEopfDKYAw42yBFW59ydJAA9gFCbKrRiB/image" /> <p dir="auto">In this example, it can be seen that there two changes were made to the original post. <p dir="auto">Hivediff can now be used to see what was changed at the specific operation. On the left side, you see the state before the edit and on the right side, you see the state after the edit. <p dir="auto">You can select the different edits by their time-stamp at the left side by clicking on an item in the tree view. <p dir="auto">Hivediff was inspired by <a href="https://github.com/yebrahim/pydiff" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">pydiff, which is the reason why it uses Tk. <h2>Installation <p dir="auto">You need to clone the github repository: <pre><code>git clone https://github.com/holgern/hivediff.git <p dir="auto">and you need to install Tk and beem for python 3. <ul> <li>For Ubuntu, you can install Tk by <code>sudo apt-get install python-tk. <li>For MacOS, Tk should be included. <li>For windows, the easiest way is to use <a href="https://www.anaconda.com/products/individual" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">anaconda as it's includes Tk. <p dir="auto">beem can be installed by <pre><code>pip install beem <p dir="auto">or <pre><code>conda install beem <h2>Usage <p dir="auto">Hivediff can be started by (you may need to replace python by python3) <pre><code>python .\hivediff.py <p dir="auto">It is possible to set an authorperm link with <code>--authorperm: <pre><code>python .\hivediff.py --authorperm @holger80/update-for-beem-support-for-ledger-nano-sx-has-been-added <p dir="auto">It is also possible to set an authorperm via a dialog at File/View Post history. <h3>View diff between a markdown file and the corresponding Hive version <p dir="auto">Hivediff can also be used to check the difference between an edited markdown file with YAML header to the currently broadcasted post body. <p dir="auto">Let's assume, I want to edit my last post. At first, I can download the post as markdown file with: <pre><code>beempy download -a holger80 -s update-for-beem-support-for-ledger-nano-sx-has-been-added <p dir="auto">Then I'm editing the file and save it.<br /> I can now check my changes with <pre><code>python hivediff.py --file 2020-05-12T19-23-15_update-for-beem-support-for-ledger-nano-sx-has-been-added.md <p dir="auto">It is also possible to load the file in the app. Just click on the File menu and click compare Markdown file. <p dir="auto">This command let Hivediff load the markdown file and extract the permlink from the YAML header. <p dir="auto"><img src="https://images.hive.blog/DQmdKzzTmBdCucmtd1ux7NZynH3aDBDLMg4vYXhTuR6ks6D/image" /> <p dir="auto">On the left side, the post body is shown and on the right side my locally stored markdown file. I can see that I added an <code>s to <code>key. <p dir="auto">I can now broadcast the changes with <pre><code>beempy post 2020-05-12T19-23-15_update-for-beem-support-for-ledger-nano-sx-has-been-added.md <h3>Reload <p dir="auto">You can reload with strg+r, or by click on Reload in the menu.<br /> It is also possible to search a string in your document (strg+f). <h3>Feedback <p dir="auto">Do you think that Hivediff is a useful application? Should I invest more work in it? Maybe create an installer and a standalone version? <p dir="auto">Maybe add the possibility to edit the content, revert changes, and finally broadcast the modified content? <hr /> <p dir="auto"><em>If you like what I do, consider casting a vote for me as witness on <a href="https://hivesigner.com/sign/account-witness-vote?witness=holger80&approve=1" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Hivesigner or on <a href="https://peakd.com/witnesses" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">PeakD
Justin Sun würde diese App nicht gefallen 😂
And thats a great little application to have, awesome work.
I've been looking for a tool like this from the first time I saw an edited post! Thanks for creating it!
that is good job man!
This is to inform you that you now have new MPATH tokens in your Hive-Engine wallet.
Please read this post for more information.
Thanks for being a member of both MAXUV and MPATH!Hi @holger80, you have received a small bonus upvote from MAXUV.
@tipu curate
I'm not sure if that is needed? Looks like not so important for me or am I just innocent for this apps developing?
Great work
Very useful. Congratulations for making this amazing tool. Keep up the good work.
Another great one here. This is definitely useful for Hivers since it provides more value. As always, we appreciate your work. And, this post will be featured in our Gitplaite-elites today.
You are an elite.
That's a great effort
There is another option available as well from @drakos. I don't think it is very well known though.
Hive Scribe
I use this from time to time when researching abuse.
Very cool!
Looking at this app, brings up one question in my mind:
Do you think HIVE blockchain would be able to support GIT repositories?
Wanna build GitHIVE?
How could this work? When I push a new post version to my git, a script automatically broadcasts a comment operation to Hive with the changes? What would be the benefits? Maybe changing a footer on all my posts?
My first thought on this was that on-chain comments could represent a file of repository. As there is a size limit of 64kb maybe it's a bad idea ^^