craig /

Filename Size Date modified Message
cook
craig
locale
macosx
web
windows
1.4 KB
Let's actually mention opusenc...
7.4 KB
Windows wavsfx extractor is now a direct exe file with a terrible UI.
935 B
Don't be TOO urgent to relaunch Craig on a crash.
7.6 KB
I grow weary of uncaught exceptions.
88 B
Made graceful-restart far more, well, graceful by embedding it into a launcher which manages all the processes.
510 B
Use an actual RELEASE of Eris howbout?
4.5 KB
Also get the total time over the last 30 days.
Craig is a multi-track voice recorder for Discord. Craig is divided into three
components: The actual recording bot, the web page (for downloading
recordings), and the audio processing scripts.

The recording bot is craig.js. It is a Node.js application written with
the Eris Discord library. For historical reasons it uses the sharding manager
from discord.js. Its dependencies can be installed with `npm install`. In
principle the recording bot works fine without the other components, but the
audio files it produce aren't really usable without processing.

The web page is in PHP (yuck), but otherwise has essentially no dependencies.
The "other formats" feature, which performs audio processing in the browser,
requires ffmpeg.js. The patch for ffmpeg.js to build it with the required
modules is in ffmpeg-js-craig.diff. ffmpeg.js should be built to
ffmpeg-worker-craig.js.

The audio processing scripts require the following command-line tools:

ffmpeg ( http://ffmpeg.org/ ) compiled with libopus support
flac ( https://xiph.org/flac/ )
oggenc ( https://xiph.org/vorbis/ )
opusenc ( http://opus-codec.org/ )
fdkaac ( https://github.com/nu774/fdkaac )
zip ( http://infozip.org/ )

No documentation is provided for running your own instances of Craig. More
information on the main instance of Craig can be found at
https://craigrecords.yahweasel.com/