Skip to content

24hours/chrome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chrome - Go binding to CEF Build Status Coverage Status

Table of contents:

Introduction

Chrome is a project forked from CEF2go by Czarek Tomczak and FromKeith. This fork aim to have similar role with PhantomJs

Currently the Chrome only allow simple programming such as opening a browser.

CEF2go is licensed under the BSD 3-clause license, see the LICENSE file.

Compatibility

Supported platforms: Windows, Linux, Mac OSX.

Build

Getting started on Windows

  1. The instruction should work in Windows 8.1 64bit

  2. Install TDM-GCC for cgo.

  3. Download CEF3 Branch 2171 binaries: release_windows.zip Extract the file to `GOPATH/Release/*

  4. Copy GOPATH/github.com/24hours/chrome/doc/build.bat to GOPATH/build.bat
    Copy GOPATH/github.com/24hours/chrome/doc/minimum/main_linux.go to GOPATH/main_windows.go

  5. Run build.bat command.

Getting started on Linux

  1. These instructions work fine with Ubuntu 12.04 64-bit. On Ubuntu 13/14 libudev.so.0 is missing and it is required to create a symbolic link to libudev.so.1. For example on Ubuntu 14.04 64-bit run this command: cd /lib/x86_64-linux-gnu/ && sudo ln -sf libudev.so.1 libudev.so.0.

  2. Install CEF dependencies:
    sudo apt-get install libatk1.0-0 libc6 libasound2 libcairo2 libcap2 libcups2 libexpat1 libexif12 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 libgtk2.0-0 libpam0g libpango1.0-0 libpci3 libpcre3 libpixman-1-0 libpng12-0 libspeechd2 libstdc++6 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6 zlib1g libgtk2.0-dev libpulse0 libbz2-1.0 libnss3-dev libgconf2-dev

  3. Download CEF 3 Branch 2171 binaries: release_linux.zip
    Extract the file to GOPATH/release/*

  4. Copy GOPATH/github.com/24hours/chrome/doc/Makefile to GOPATH/Makefile
    Copy GOPATH/github.com/24hours/chrome/doc/minimum/main_linux.go to GOPATH/main_linux.go

  5. Run make command.

Getting started on Mac OS X

  1. These instructions work fine with OS X 10.10 Yosemite.

  2. Install command line tools (make is required) from:
    https://developer.apple.com/downloads/
    (In my case command line tools for Mountain Yosemite from 2 Dec 2014)

  3. Install XCode (gcc that comes with XCode is required).
    My version is Version 6.1.1

  4. Download CEF 3 Branch 2171 binaries: release_mac.zip
    Extract the file to GOPATH/release/*

  5. Copy GOPATH/github.com/24hours/chrome/doc/Makefile to GOPATH/Makefile
    Copy GOPATH/github.com/24hours/chrome/doc/minimum/main_mac.go to GOPATH/main_mac.go

  6. Run make command.

About

Chrome - Go binding to CEF

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 81.2%
  • Go 9.8%
  • C 8.6%
  • Objective-C 0.4%