Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.
/ toktik-archive Public archive
forked from Toktik-Team/toktik

第五届字节跳动青训营后端大作业“码如磐石奖(一等奖)”获奖项目。ChatGPT integrated short video microservice application built with Kitex and Hertz.

License

Notifications You must be signed in to change notification settings

Toktik-Team/toktik-archive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toktik

logo ChatGPT integrated short video microservice application built with Kitex and Hertz , made by Toktik-Team in The 5th Bytedance Youth Training Camp.

English | 简体中文

The 5th Bytedance Youth Training Camp Report Documentation: https://qrggpk56b9.feishu.cn/docx/Djwpdm8oZo3JyRx0JwkcZhRDnVd

Earned the Best Project award in the 5th Bytedance Youth Training Camp.

Demo

Download Dousheng app from here, and use this URL to test with the demo.

https://toktik.xctra.cn/

Project Structure

Prerequisite

This project does not support Windows, as Kitex does not support either.

  • Linux / MacOS
  • Go
  • FFmpeg
  • PostgreSQL
  • Redis
  • OpenTelemetry Collector

For observability infrastructures, it's recommended to use:

  • Jaeger All in one
  • Victoria Metrics
  • Grafana

Build

Run ./build-all.sh in your Linux environment to compile all services.

Configurations

Check out constant/config/env.go

Run

  • Run start.sh --service <service_name> to start a service.
  • service_name could be any of the sub directory of ./service.

Test

Unit Test

Run ./unit-test.sh

End-to-End Test

Run go test toktik/test/e2e -tags="e2e"

How to Contribute

  1. Please following the HowToAddServices to create your own service.
  2. Create a new branch and make your changes.
  3. Create a pull request to the main branch.
  4. Wait for review and merge.

Contributors

License

Toktik is licensed under the MIT License.

About

第五届字节跳动青训营后端大作业“码如磐石奖(一等奖)”获奖项目。ChatGPT integrated short video microservice application built with Kitex and Hertz.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.2%
  • Shell 5.0%
  • Dockerfile 0.8%