GithubHelp home page GithubHelp logo

347522582 / 12306ticket Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zezeez/12306helper

0.0 1.0 0.0 787 KB

a tool can auto order ticket at kyfw.12306.cn

License: GNU General Public License v3.0

Makefile 0.21% C 99.79%

12306ticket's Introduction

12306ticket

  This application is develop for linux platform and it is intend to run with gtk3, it also depend on libcurl which is a client url library whiten by C.Please check your platform dependencies before compile this code or run this application.Remeber modify tickethelper.conf to your own setting.

For installing gtk3, on Fedora:
sudo dnf install gtk3 gtk3-devel
On Debian or Ubuntu:
sudo apt-get install libgtk-3-dev
On Arch Linux:
sudo pacman -Sy gtk3
On OpenSUSE:
sudo zypper install gtk3 gtk3-dev
On Linux Mint:
gem install gtk3 gtk3-dev

How to compile and run?

Copy this repository to local

git clone https://github.com/liujianjia/12306ticket.git

or download zip package and extract it

Enter project directory

cd 12306ticket

Build project

make

If everything is ok, there is an executable file which name is tickethelper generated

Use your favorite text editor modify tickethelper.conf to your own setting, such as

vim tickethelper.conf

Then start application, good luck!

./tickethelper

Available command line options:
  -c, --config
    specify configuration file.
-h, --help print this message and exit.
-q, --queit queit mode, don't output each train information.
-Q, --query-only query only mode, only query ticket information and disable auto order ticket function.
-v, --verbose enable verbose mode, output more detail information about connection and debug information.
-V, --version print application version and exit.

12306ticket's People

Contributors

zezeez avatar

Watchers

 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.