This simple command line application can download a Telegra.ph page and convert it to Markdown and HTML.
./telegraph https://telegra.ph/Sample-Page-12-15
./telegraph --path Sample-Page-12-15 --json
./telegraph --path Sample-Page-12-15 --html
./telegraph --path Sample-Page-12-15 --markdownIf you download it as json, you can convert it later
# will download it as json.
./telegraph --path Sample-Page-12-15 --json
# will generate markdown and html
./telegraph --file sample-page-12-15.json-
Install Elixir >= 1.12
-
make deps -
make build
Unless explicitily stated, all source code is under the permissive MPL v2.0 (Mozilla Public License Version 2.0) license.
Is a copyleft license that is easy to comply with. You can combine the MPL version 2.0 software with a proprietary or differently licensed code.
-
If you don’t modify the code inside this library, you will have to provide just a link to the library sources.
-
If you modify these libs, you will have to provide just the sources for the modified files (not the entire project).
Made with ♥ by Ninjas.cl