StarsManager Save

A desktop stars manager base on vue and golang

Project README

starsManager

A desktop app that help you to manage your github starred repo.

中文简介

Preface


Developing Status

Still developing..., You can download it from release(find the version fit your system, and unzip it)


Technology Stack && Main Framework

Vue group technology stack: vue2 + vuex + vue-router
UI Framework: vuetify.js(a progressive Material Design framework)
Network request: axios
Front-end Database: pouchdb
Module bundler tool: parcel
Desktop supported: go-astilectron(thanks to asticode)

Demo:

See the repo that you have starred:

see_starred_repo.png

See the starred repo tree:

see_tree.png

Customize classification:

custom_classification.png

With PouchDB supported, you can see the starred repo contents even in offline state:

offline.gif


How to build:

Front-end files bundle:

Install parcel global:

yarn global add parcel-bundler

or

npm install -g parcel-bundler

Build front-end files:


$ cd src
$ yarn 
$ npm run build

Config of Golang:

Firstly you must have installed Golang environment, and set GOROOT and GOPATH such on(you can check if you have set them by running echo $GOROOT, echo $GOPATH in your terminal)

Install go-astilectron and go-astilectron-bundler:

$ go get -u github.com/asticode/go-astilectron
$ go get -u github.com/asticode/go-astilectron-bundler/...
$ go get github.com/ZEROKISEKI/go-astilectron-bootstrap

If you meet the problem such as unrecognized import path "golang.org/x/ ..." in go get progress, you can use mirror library to solve it:

$ mkdir -p $GOPATH/src/golang.org/x
$ cd $GOPATH/src/golang.org/x
$ git clone https://github.com/golang/crypto.git
$ git clone https://github.com/golang/net.git
$ git clone https://github.com/golang/sys.git

After you successfully run go get, you can run the following command to build an app:

$ astilectron-bundler -v

Yet it may happen in China: Download electron and astilectron too slow cause failed problem, if happened, you can solve it by the following way:

Download electron 1.8.1 in https://github.com/electron/electron/releases?after=v1.8.2-beta.2, choose the correct version suit your system

And then, create a folder in the project, such as cache_astilectron_bundler, and rename the electron file you download from release to:

electron-windows-amd64-1.8.1.zip(windows system)
electron-darwin-amd64-1.8.1.zip(OSX system)
electron-linux-amd64-1.8.1.zip(linux system)

And put the electron file in cache_astilectron_bundler.

Then download astilectron 0.20.0 in https://github.com/asticode/astilectron/releases, putting it in cache_astilectron_bundler folder:

And rename astilectron.zip to:

astilectron-0.20.0.zip

Lastly add the following code in bundler.json:

"cache_path": "cache_astilectron_bundler"

After successfully bundler, you can find your app in the output folder and run it, or you can debug it by running go *.go

Open Source Agenda is not affiliated with "StarsManager" Project. README Source: ZEROKISEKI/starsManager
Stars
67
Open Issues
2
Last Commit
6 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating