snickers

:chocolate_bar: An open source alternative to the video cloud encoding services.

Github星跟踪图

Build Status
codecov
Go Report Card

Snickers is an open source alternative to the existent cloud encoding services. It is a HTTP API that encode videos.

Setting Up

First make sure you have Go and FFmpeg with --enable-shared installed on your machine. If you don't know what this means, look at how the dependencies are being installed on our Dockerfile.

Download the dependencies:

$ make build

You can store presets and jobs on memory or MongoDB. On your config.json file:

  • For MongoDB, set DATABASE_DRIVER: "mongo" and MONGODB_HOST: "your.mongo.host"
  • For memory, just set DATABASE_DRIVER: "memory" and you're good to go.

Please be aware that in case you use memory, Snickers will persist the data only while the application is running.

Run!

$ make run

Running tests

Make sure you have mediainfo installed and a local instance of MongoDB running.

$ make test

Using the API

Check out the Wiki to learn how to use the API.

Contributing

  1. Fork it
  2. Create your feature branch: git checkout -b my-awesome-new-feature
  3. Commit your changes: git commit -m 'Add some awesome feature'
  4. Push to the branch: git push origin my-awesome-new-feature
  5. Submit a pull request

License

This code is under Apache 2.0 License.

主要指标

概览
名称与所有者snickers/snickers
主编程语言Go
编程语言Makefile (语言数: 3)
平台
许可证Apache License 2.0
所有者活动
创建于2016-06-15 01:30:54
推送于2019-12-30 10:13:11
最后一次提交2018-10-22 10:44:59
发布数3
最新版本名称0.3 (发布于 )
第一版名称0.1 (发布于 )
用户参与
星数534
关注者数31
派生数75
提交数411
已启用问题?
问题数124
打开的问题数43
拉请求数47
打开的拉请求数0
关闭的拉请求数7
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?