{"id":27019121,"url":"https://github.com/jabbalaci/melt","last_synced_at":"2025-04-04T17:19:10.104Z","repository":{"id":140437593,"uuid":"216258607","full_name":"jabbalaci/melt","owner":"jabbalaci","description":"a visual cat-like file viewer with syntax highlighting supporting 2-file views","archived":false,"fork":false,"pushed_at":"2023-11-27T12:47:30.000Z","size":132,"stargazers_count":8,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-16T00:08:40.852Z","etag":null,"topics":["bat","cat","cli","command-line","file-viewer","python","python3","syntax-highlighting","terminal","two-panels","vertical-split"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jabbalaci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-10-19T19:19:57.000Z","updated_at":"2024-04-16T00:08:40.853Z","dependencies_parsed_at":"2023-11-27T13:51:25.107Z","dependency_job_id":null,"html_url":"https://github.com/jabbalaci/melt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabbalaci%2Fmelt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabbalaci%2Fmelt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabbalaci%2Fmelt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabbalaci%2Fmelt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jabbalaci","download_url":"https://codeload.github.com/jabbalaci/melt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217217,"owners_count":20903009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bat","cat","cli","command-line","file-viewer","python","python3","syntax-highlighting","terminal","two-panels","vertical-split"],"created_at":"2025-04-04T17:19:08.857Z","updated_at":"2025-04-04T17:19:10.099Z","avatar_url":"https://github.com/jabbalaci.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"melt\n====\n\nA visual cat-like file viewer with syntax highlighting supporting 2-file views.\n\nWith melt, you can view the content of two files\nthat are placed side by side. The two files are\nsyntax highlighted separately.\n\nScreenshots\n===========\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"assets/dark.png\" alt=\"dark background\"\u003e\u003cbr\u003e\n  \u003ci\u003eDark background\u003c/i\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"assets/light.png\" alt=\"light background\"\u003e\u003cbr\u003e\n  \u003ci\u003eLight background\u003c/i\u003e\n\u003c/div\u003e\n\nInstallation\n============\n\nThe syntax highlighting is done with the excellent bat tool\n(https://github.com/sharkdp/bat), so first you need to install bat.\n\nThen, create a virtual environment and start using the\nsoftware:\n\n```\n$ pipenv install --dev\n$ ./start.py\nmelt - visual cat-like file viewer with syntax highlighting supporting 2-file views\n\nUsage: melt FILE1 FILE2 [options]\n\nOptions:\n\n-h, --help                show this help\n--light                   theme for light background\n\nmelt requires bat (https://github.com/sharkdp/bat) for the syntax highlighting\n```\n\nCreating an EXE\n===============\n\nThe program was tested under Linux only. If you want to\nhave a standalone executable, then issue the command\n\n    $ pynt exe\n\nwhich will create the executable file `melt` in the\n`dist/` folder. (Note: for this to work, follow the installation steps.)\n\nNotes\n=====\n\nThere is a similar program called [meld](https://meldmerge.org/),\nwhich is a GUI merge and diff tool. I wanted something similar in\nthe terminal.\nThe name \u003ci\u003emel**t**\u003c/i\u003e indicates that it is\nsimilar to meld but it is made for the **t**erminal.\n\nI wanted a tool that can show two files side by side in\nthe terminal using syntax highlighting. melt is not\nmade for merging and showing diffs, it is just a file\nviewer with two panels. A great advantage of melt is that\nthe two files can have different extensions and thus\nthey will be colored differently.\n\nLinks\n=====\n\n* Reddit discussion ([link](https://old.reddit.com/r/commandline/comments/dkx5xb/melt_a_visual_catlike_file_viewer_with_syntax/))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabbalaci%2Fmelt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjabbalaci%2Fmelt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabbalaci%2Fmelt/lists"}