Git Product home page Git Product logo

z-yxin / webplotdigitizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from automeris-io/webplotdigitizer

0.0 1.0 0.0 44.54 MB

HTML5 based online tool to extract numerical data from plot images.

Home Page: https://automeris.io/WebPlotDigitizer

License: GNU Affero General Public License v3.0

Shell 0.88% JavaScript 75.74% Python 0.27% CSS 1.52% HTML 12.52% Jupyter Notebook 7.66% Go 1.40%

webplotdigitizer's Introduction

WebPlotDigitizer

A web based tool to extract numerical data from plot images. Supports XY, Polar, Ternary diagrams and Maps. This is an opensource tool that is used by thousands and cited in over 600 published articles. Checkout https://automeris.io/WebPlotDigitizer for more details.

WebPlotDigitizer Screenshot

Contact

Ankit Rohatgi [email protected]

License

WebPlotDigitizer is distributed under GNU AGPL v3.

Stable Versions

The master branch in this repository is unstable and not recommended to be used in production. To access stable releases, checkout: https://github.com/ankitrohatgi/WebPlotDigitizer/releases

Development Dependencies

(You can also use the pre-configured Ubuntu based Dockerfile from the docker folder)

UI:

  • See app/thirdparty folder and download the required third party libraries and dependencies.
  • A recent Java to run the javascript compiler (Google Closure Compiler).
  • Python 3 with jinja2 package and pybabel to compile the HTML templates.

Web Server:

  • A recent Go compiler

Electron App:

  • npm

Building the App

To build the HTML5 code, do the following (make sure you have checked out the dependencies above):

cd app
./build.sh

This should generate a combined-compiled.js file and several HTML files in the 'app' directory. Use the web server (see webserver folder) or Electron app (see electron folder) to host this app.

Web Server

PHP backend has now been replaced with a simple Go server. To start the server do the following:

cd webserver
cp settings.json.example settings.json
# edit settings.json as needed
go build
./webserver

You can now open this WPD in your web browser.

The Go based server will be extended to include typical server side features like server-side data storage, remote APIs etc.

Electron App

To run the electron app, follow these steps:

cd electron
npm install
npm start

At the moment, this is only an basic implementation. If you are familiar with electron app development, then feel free to contribute here.

To build MacOS, Windows or Linux apps, make sure "electron-packager" is available:

npm install electron-packager -g

On a Linux development machine, you will also need "wine" to build the Windows app. To build the apps, run:

cd electron
./build-packages.sh # Windows, Mac and Linux
./build-mac.sh      # Mac only

This will create apps for Mac, Windows and Linux.

Translations

If you would like to translate WPD to your language, then please email me.

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.