Modest/README.md

69 lines
3.1 KiB
Markdown
Raw Normal View History

2017-02-14 14:51:29 +03:00
# Modest — a pure C HTML renderer
2016-08-29 00:20:40 +03:00
2016-08-29 00:29:33 +03:00
[![Build Status](https://travis-ci.org/lexborisov/Modest.svg?branch=master)](https://travis-ci.org/lexborisov/Modest)
2016-12-08 15:35:03 +03:00
[![Coverity Scan Build Status](https://scan.coverity.com/projects/11105/badge.svg)](https://scan.coverity.com/projects/lexborisov-modest)
2016-12-20 15:52:50 +03:00
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=L59E49K2NVUHE)
2016-08-29 00:29:33 +03:00
2017-02-14 14:51:29 +03:00
Modest is a fast HTML renderer implemented as a pure C99 library with no outside dependencies.
2016-08-29 00:20:40 +03:00
2018-08-20 23:10:23 +03:00
* IRC: [#lexbor on `irc.freenode.net <http://freenode.net>`](http://webchat.freenode.net?channels=%23lexbor)
2016-12-20 15:52:50 +03:00
2016-08-29 00:20:40 +03:00
## Now
```text
The current version is 0.0.6 - devel
2016-08-29 00:20:40 +03:00
```
2017-03-19 11:55:37 +03:00
## Features
* MyCORE — base module, it is used by all other modules
* MyHTML — HTML parser by [specification](https://html.spec.whatwg.org/multipage/)
2017-03-19 17:36:45 +03:00
* MyCSS —  CSS parser and modules by [specification](https://drafts.csswg.org/)
2017-03-19 11:55:37 +03:00
* MyENCODING — work with character encodings, detecting encoding, convert encodings by [specification](https://encoding.spec.whatwg.org/)
* MyFONT — work with font, metrics, calculating size and more by [specification](https://www.microsoft.com/en-us/Typography/SpecificationsOverview.aspx)
* MyURL — URL parser by [specification](https://url.spec.whatwg.org/)
* MyPORT — system depended code: threads (if build with threads, default), work with memory, io, timers
2017-03-19 17:36:45 +03:00
* Modest — calculating, compare, renderer
2017-03-19 11:55:37 +03:00
2016-10-28 15:08:10 +03:00
## Introduction
2016-08-29 00:20:40 +03:00
2016-12-22 18:07:12 +03:00
[Introduction](https://lexborisov.github.io/Modest/)
2016-08-29 00:20:40 +03:00
## Dependencies
None
2016-12-20 15:52:50 +03:00
## Installation
See [INSTALL.md](https://github.com/lexborisov/Modest/blob/master/INSTALL.md)
2016-11-21 19:35:17 +03:00
## External Bindings and Wrappers
* [Crystal wrapper](https://github.com/kostya/modest) for CSS Selectors (Modest Finder)
2017-11-27 18:16:39 +03:00
* [Python binding](https://github.com/rushter/selectolax) for Modest engine (fast HTML5 parser and CSS selectors)
2018-02-28 20:42:15 +03:00
* [Elixir/Erlang](https://github.com/f34nk/modest_ex) bindings
* Perl 5 [HTML5::DOM](https://github.com/Azq2/perl-html5-dom) module (fast HTML5 parser with DOM and CSS selectors)
2018-06-15 09:47:18 +03:00
* [arrogant](https://github.com/2night/arrogant/) library for D programming language (fast HTML5 parser with DOM and CSS selectors)
2016-08-29 00:20:40 +03:00
## Examples
2016-12-20 15:52:50 +03:00
See [examples](https://github.com/lexborisov/modest/tree/master/examples) directory
2016-08-29 00:20:40 +03:00
## AUTHOR
Alexander Borisov <lex.borisov@gmail.com>
## COPYRIGHT AND LICENSE
2017-03-19 11:55:37 +03:00
Copyright (C) 2015-2017 Alexander Borisov
2016-08-29 00:20:40 +03:00
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
See the [LICENSE] file.
[LICENSE]: https://github.com/lexborisov/myhtml/blob/master/LICENSE