# Supporting Gitea in a onebox

**URL:** https://meta.discourse.org/t/supporting-gitea-in-a-onebox/115611
**Category:** Feature
**Created:** [22 באפריל,‏ 2019,‏ 3:46am UTC](https://meta.discourse.org/t/supporting-gitea-in-a-onebox/115611 "2019-04-22T03:46:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![JustinBack](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justinback/32/133266_2.png) [@JustinBack](https://meta.discourse.org/u/JustinBack)
#### Post date: [22 באפריל,‏ 2019,‏ 3:46am UTC](https://meta.discourse.org/t/supporting-gitea-in-a-onebox/115611/1 "2019-04-22T03:46:11Z")

</div>

Not sure if this is the right category here but is it possible to support [Gitea](https://github.com/go-gitea/gitea) in a onebox the same behaviour github is showing code?

I’ve switched over to my own git but I love the code preview for github which isn’t there for gitea.

Not quite sure how discourse extracts the code from github but gitea has a public API, the same way github does. To add the API usage to this

[Link to API documentation on my Gitea Instance](https://git.pixelcatproductions.net/api/swagger#/repository/repoGetRawFile)

 ![](https://global.discourse-cdn.com/meta/original/3X/f/0/f02b380eeac7c85910b394c0d0ed1c781f411c61.png)
