Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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


++++