go-telegram

module
v0.0.0-...-361b1ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2015 License: Apache-2.0

README

Go binding of C Telegram library

This is a WIP integration of C Telegram library (https://github.com/vysheng/tgl) into Go

Build Status GoDoc

Version: 0.1-alpha

LICENSE

go-telegram is licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

Current Development Status

  • Alpha version
  • In planning phase.
  • Any useful code yet.
  • Exposing the library into Go without any aliasing.

  • Beta version
  • TbD

How to Install

Sadly we are facing two problems with the current project approach:

  1. Unsupported git submodules in go get command. (https://github.com/golang/go/issues/7764)
  2. Currently tgl library doesn't have a pkg-config package defined, so we need to compile it by ourselves in the correct location. (TODO: Need to create a issue for this or provide a pull request to the tgl project)

So you need to do some manual arrangment to succesfully install the package.

    $ go get -d github.com/gloob/go-telegram && \
      cd $GOPATH/src/github.com/gloob/go-telegram && \
      git submodule update --init --recursive && \
      cd ./lib/tgl && ./configure && make && \
      go get -u github.com/gloob/go-telegram

TODO:

Current Status

  • Linux
    • Not yet!
  • Mac OS
    • Not yet!
  • Windows
    • planned for 2015 Q4

Sample Program

Check ./tg directory. (WIP)

You can contact me at gloob@litio.org

Directories

Path Synopsis
tg
Godeps/_workspace/src/github.com/codegangsta/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
Package cli provides a minimal framework for creating and organizing command line Go applications.
Godeps/_workspace/src/github.com/jroimartin/gocui
Package gocui allows to create console user interfaces.
Package gocui allows to create console user interfaces.
Godeps/_workspace/src/github.com/nsf/termbox-go
termbox is a library for creating cross-platform text-based interfaces
termbox is a library for creating cross-platform text-based interfaces
Callbacks exposed in Go-like style.
Callbacks exposed in Go-like style.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL