Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elixircl/telegraph
A simple telegra.ph exporter
https://github.com/elixircl/telegraph
elixir elixir-lang
Last synced: 4 days ago
JSON representation
A simple telegra.ph exporter
- Host: GitHub
- URL: https://github.com/elixircl/telegraph
- Owner: ElixirCL
- License: mpl-2.0
- Created: 2022-03-14T10:53:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-13T13:32:25.000Z (over 2 years ago)
- Last Synced: 2024-05-01T06:45:25.757Z (7 months ago)
- Topics: elixir, elixir-lang
- Language: Elixir
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
# Telegraph Exporter
This simple command line application
can download a https://telegra.ph[Telegra.ph] page
and convert it to _Markdown_ and _HTML_.## Example Usage
```sh
./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 --markdown
```If you download it as json, you can convert it later
```sh
# will download it as json.
./telegraph --path Sample-Page-12-15 --json# will generate markdown and html
./telegraph --file sample-page-12-15.json
```## Installation
- Install https://elixir-lang.org/install.html[Elixir >= 1.12]
- `make deps`
- `make build`## π License
Unless explicitily stated, all source code is under the permissive link:LICENSE.adoc{ext-relative}[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).
### More Info
- https://www.mozilla.org/en-US/MPL/2.0/[Mozila MPL 2.0]
- https://en.wikipedia.org/wiki/Comparison_of_free_and_open-source_software_licences[OSS License Comparison]
- https://shakuro.com/blog/software-licenses-explained/[Software Licenses Explained]
- https://choosealicense.com/licenses/mpl-2.0/[Choose a License]## π€© Credits
++++
Made with β₯ by
Ninjas.cl
++++