Git Product home page Git Product logo

golang-nw's Introduction

golang-nw

Call a golang web application from node-webkit to get a native looking application.

See the documentation for usage instructions.

golang-nw's People

Contributors

girishso avatar gronpipmaster avatar khaos-one avatar xsleonard avatar

Stargazers

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

Watchers

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

golang-nw's Issues

output not correct on OSX ?

x-MacBook-Pro:example apple$ golang-nw-pkg --app=$GOBIN/example --name="My Application" --bin="myapp" --toolbar=false
Building:    myapp.nw
Downloading:     http://dl.node-webkit.org/v0.11.6/node-webkit-v0.11.6-osx-x64.zip
Packaging:   myapp
x-MacBook-Pro:example apple$ ls
main.go             myapp.nw            node-webkit-v0.11.6-osx-x64.zip

i get a .nw for my output.

I guess i have to pass it into the nw-builder now ??


also the download path for the newer stuff is different in that the file names have changed.
For example the latest stable build is here:
http://dl.nwjs.io/v0.16.1/

If you compare it to the current one your setup for:
http://dl.nwjs.io/v0.11.3/

The files names are different.

node-webkit version

Hi,

Very nice projet I will use for my tool named "idok" (made in go). I was making this with node-webkit but I will be hable to use your project.

Just a question, using the builder I saw that node-webkit that golang-nw dowloads is 0.9. But node-webkit evolved to 0.10 a long time ago... Any reason to not use the latest versions ?

panic: missing environment variable 'GOLANG-NW'

OSX
go 1.6.3

I made a simple example app the same as yours
i installed it
i try then to run it and it blows up with:
panic: missing environment variable 'GOLANG-NW'

Is there a need for a special env variable to be present ?

Performance? Very slow, Windows

Hello,

I'm new to golang and this project. I've compiled with go 1.3 and the given build script in this repository. Starting the example app takes about 10 seconds to show the initial frame and another 5 seconds to show "Hello golang". Memory usage is about twice as high compared to other nw applications.

Did I do something wrong, is there a bug or is golang-nw in just slow?

Regards,
Dennis

libudev.so.0

Due to the removal of libudev0 and its associated library libudev.so.0, node-webkit isn’t able to run on newer distributions such as:

Ubuntu 13.04+
Fedora 18+
Arch
Gentoo
Derivatives of the above

…and possibly others. Until node-webkit is updated to depend on the currently shipped version libudev.so.1, the following solutions should provide a stopgap measure for packaging your applications.

For more details see:
https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0

window size

Hi,

How can i change window width and height?

thanks

osx getting missing environment variable 'GOLANG-NW'

Hi @lonnc ,

I'm trying to compile the example app but when I run the compiled I always get

missing environment variable 'GOLANG-NW'

this is probably my mistake , because I haven't seen a similiar issue here.

steps to reproduce:

  1. go build
  2. $GOPATH/bin/golang-nw-pkg -app=./main -name="My Application" -bin="main" -toolbar=false
  3. ./main

are those steps ok ?

regards

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.