Package for transcoding DCC image files.
Report Bug
·
Request Feature
This package provides a DCC image transcoder implementation.
This package also contains command-line and graphical applications for working with DCC image files.
pkg/
- This directory contains the core DCC transcoder library. This is the directory to import if you want to write new golang applications using this library.import ( dcc "github.com/gravestench/dcc/pkg" )
cmd/
- This directory contains command-line and graphical applications, each having their own sub-directory.assets/
- This directory contains files, like the images displayed in this README, or test dcc file data.
You need to install Go 1.16, as well as set up your go environment.
In order to install the applications inside of cmd/
, you will need to
make sure that $GOBIN
is defined and points to a valid directory,
and this will also need to be added to your $PATH
environment variable.
export GOBIN=$HOME/.gobin
mkdir -p $GOBIN
PATH=$PATH:$GOBIN
As long as $GOBIN
is defined and on your $PATH
, you can build and install all apps inside of
cmd/
by running these commands:
# clone the repo, enter the dir
git clone http://github.com/gravestench/dcc
cd dcc
# build and install inside of $GOBIN
go build ./cmd/...
go install ./cmd/...
At this point, you should be able to run the apps inside of cmd/
from the command-line, like dcc-view
.
I've set up all of the repos with a similar project structure. ~/pkg/
is where the actual
transcoder library is, and ~/cmd/
has subdirectories for each CLI/GUI application that can be
compiled.
Any contributions are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request