このツールは、2つのテキストの違いを視覚的に比較し、HTML形式で表示します。
- 2つのテキストを入力して比較することができます。
- 削除されたテキストは赤色、追加されたテキストは緑色で強調表示されます。
-
必要なgemをインストールします:
bundle install
-
アプリケーションを起動します:
ruby app.rb
-
ブラウザで http://localhost:4567 にアクセスして、アプリケーションを使用します。
- "Original Text" テキストエリアに元のテキストを入力します。
- "Modified Text" テキストエリアに変更後のテキストを入力します。
- "Compare" ボタンをクリックして、2つのテキストの違いを確認します。
MIT License