Giter Site home page Giter Site logo

luojilab / magic Goto Github PK

View Code? Open in Web Editor NEW
14.0 7.0 7.0 170.64 MB

An EPUB editor

License: MIT License

CMake 1.98% C 33.44% C++ 54.75% Python 7.29% Inno Setup 0.08% Ragel 1.94% Shell 0.01% JavaScript 0.49% Batchfile 0.01% CSS 0.01%
epub ebook qt c-plus-plus sigil

magic's Introduction

Magic: an Ebook Editor

LICENSE version 中文文档

[TOC]

Overview

Magic based on Sigil is an Epub ebook Editor that can manipulate epub2 and epub3

Features

  • Support for epub2 and epub3
  • A simulator that can simulate rendering on different mobile phone including iPhone and Xiaomi etc. using Dedao self-designed ebook engine.
  • Night mode or other background color using in ebook
  • Math formula edit
  • Rendering just in time when editing HTML file
  • HTML syntax check

Get the Binary

Get the binary

Build

Build on macOS

  • Install Python3 on your machine
  • Install Qt5.5 with webkit build, or you can get it from here directly
  • Download CMake
  • Set Qt path to CMAKE_PREFIX_PATH in CMake
  • Create an Xcode project
  • Build and run

When you want to build a release version, put Python framework in your application's lib or Frameworks directory and reset shared libraries linked to @rpath/Python.framework/Versions/${versionNumber}/Python

Mac installer dmg is put on ${BuildRootPath}/Build/bin/Release

Build on Windows

  • Install Python3 on your machine
  • Install Qt5.5 with webkit build, or you can get it from here directly
  • Download CMake
  • Set Qt path to CMAKE_PREFIX_PATH in CMake
  • Create an VS project
  • Build and run

Run makeinstaller solution to make a windows wizard

Contributing

When contributing to this project, you need to discuss the change you want to make with us first by issue.

The git log message formate we use is here

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgements

  • Sigil developers
  • Dedao Ebook typography staff
  • Developers for those contributed to this project

Dependencies

  • Sigil
  • Hunspell - http://hunspell.sourceforge.net
  • MiniZip version 1.1
  • Perl-compatible Regular Expression Library (pcre)
  • ZLib Data Compression Library (zlib 1.2.8)
  • jQuery-2.2.4 (src/Resource_Files/javascript/jquery-2.2.4.min.js)
  • jQuery.ScrollTo-2.1.2 (src/Resource_Files/javascript/jquery.scrollTo-2.1.2.min.js)
  • MathJax.js single file version: (src/Resource_Files/polyfills)

In addtion, Magic uses the following other packages that have been specifically modified for use inside Magic:

  • Beautiful Soup 4 (src/Resource_Files/plugin_launchers/sigil_bs4)
  • Google's Gumbo Parser (internal/gumbo)

magic's People

Contributors

alaxion avatar aochagavia avatar bbacskay avatar beckydtp avatar charleski avatar dave-ts avatar daveheiland avatar dougmassay avatar duanemoody avatar jwmcnair avatar jwvdveen avatar kant avatar kevinhendricks avatar kytvi2p avatar lmonster avatar mapreri avatar mihailim avatar mrgaolei avatar nikai3d avatar pinotree avatar schiller-manuel avatar sviatoslavrazmyslov avatar user-none avatar varlog00 avatar wrcisco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.