Giter Club home page Giter Club logo

livedl-n's Introduction

livedl

Nicolive recording tool that supports new distribution (HTML5).

This version is in module-aware mode.

See Migrating to Go Modules

golang 1.15.x or lower

If you use golang 1.15.x or lower, set the environment variable GO111MODULE=on before go build.
Otherwise you will get an error at compile.
Or use golang 1.16.x or higher.

cd src
GO111MODULE=on go build -o ../livedl livedl.go
cd ..

Or

export GO111MODULE=on
cd src
go build -o ../livedl livedl.go
cd ..

Get the latest livedl source program

git clone https://github.com/nnn-revo2012/livedl.git
(Pull requests other than #51 on himananiito/livedl and 5ch's patches have been applied)

This repository has been rebuilt. If you cloned it before December 13, 2020, please do the following:

git fetch origin master
git reset --hard origin/master

How to build a program

See https://github.com/himananiito/livedl

go build:

  • Linux and Mac:

    $ cd src; go build -o ../livedl livedl.go; cd ..
    
  • Windows:

    > cd src
    > go build -o ../livedl.exe livedl.go
    > cd ..
    
  • Windows (and use powershell):

    > ./build.ps1
    
  • Docker:

    • Get a livedl source

      git clone https://github.com/nnn-revo2012/livedl.git
      cd livedl
      git checkout master # Or another version that supports docker (contains Dockerfile)
      
    • Make Imagefile

      docker build -t livedl .
      
    • excution docker image

      • mount an output directry on /livedl
      docker run --rm -it -v "$(pwd):/livedl" livedl "https://live.nicovideo.jp/watch/..."
      

livedl-n's People

Contributors

himananiito avatar jasonszang avatar nnn-revo2012 avatar sarami55 avatar tellowkrinkle avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

livedl-n's Issues

Go modules未対応のlivedlソースをgolang1.60以上でbuildする方法

これは古いlivedlのソースをbuildする場合のみ必要です。現在のnnn-revo2012版およびhimananiito版のlivedlでは必要ありません

This is only needed if you are building the old livedl source. Not required for current nnn-revo 2012 and himaniito versions of livedl

Notice golang 1.16

If you use golang 1.16 or higher, set the environment variable GO111MODULE = off before go get and go build.
Otherwise you will get an error at compile.

Linux and Mac
go get:

export GO111MODULE=off
go get github.com/gorilla/websocket
go get golang.org/x/crypto/sha3
go get github.com/mattn/go-sqlite3
go get github.com/gin-gonic/gin

go build:

GO111MODULE=off go build src/livedl.go

Or

export GO111MODULE=off
go build src/livedl.go

Windows(DOS command)

set GO111MODULE=off
go get github.com/gorilla/websocket
go get golang.org/x/crypto/sha3
go get github.com/mattn/go-sqlite3
go get github.com/gin-gonic/gin
set GO111MODULE=off
go build src/livedl.go

Windows(PowerShell)

set-item env:GO111MODULE -value off
go get github.com/gorilla/websocket
go get golang.org/x/crypto/sha3
go get github.com/mattn/go-sqlite3
go get github.com/gin-gonic/gin
set-item env:GO111MODULE -value off
go build src/livedl.go

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.