{"id":37180392,"url":"https://github.com/ngocphuongnb/tetua","last_synced_at":"2026-01-14T20:58:32.769Z","repository":{"id":39800297,"uuid":"491343473","full_name":"ngocphuongnb/tetua","owner":"ngocphuongnb","description":"Tetua is a simple Golang-based blogging platform. Quickly create a blog with a few simple commands.","archived":false,"fork":false,"pushed_at":"2022-06-21T02:03:23.000Z","size":688,"stargazers_count":75,"open_issues_count":0,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-19T00:33:38.402Z","etag":null,"topics":["blogging","cms","golang"],"latest_commit_sha":null,"homepage":"https://tetua.net","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ngocphuongnb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-12T02:55:51.000Z","updated_at":"2024-06-09T19:36:41.000Z","dependencies_parsed_at":"2022-08-09T15:25:45.520Z","dependency_job_id":null,"html_url":"https://github.com/ngocphuongnb/tetua","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ngocphuongnb/tetua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngocphuongnb%2Ftetua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngocphuongnb%2Ftetua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngocphuongnb%2Ftetua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngocphuongnb%2Ftetua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngocphuongnb","download_url":"https://codeload.github.com/ngocphuongnb/tetua/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngocphuongnb%2Ftetua/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blogging","cms","golang"],"created_at":"2026-01-14T20:58:32.195Z","updated_at":"2026-01-14T20:58:32.764Z","avatar_url":"https://github.com/ngocphuongnb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tetua - A simple CMS for blogging\n\nTetua is a simple CMS for blogging written in Golang. With tetua, you can quickly create a blog with a few simple commands.\n\nTetua is built on top of awesome libraries like:\n\n- [Fiber](https://github.com/gofiber/fiber)\n- [Ent](https://github.com/ent/ent)\n- [Rclone](https://github.com/rclone/rclone)\n- [Jade](https://github.com/Joker/jade)\n\n## Installation\n\n### Download the binary from the release page:\n- https://github.com/ngocphuongnb/tetua/releases\n\n### Create the config file\n\n```sh\n./tetua init\n```\n\nThe config file will be created in the current directory.\n\n```json\n{\n \"app_env\": \"production\",\n \"app_key\": \"{APP_KEY}\",\n \"app_port\": \"3000\",\n \"db_dsn\": \"\",\n \"db_query_logging\": false\n}\n```\n\n*Look at the `config.example.json` for more configuration options.*\n\nThese fields are required:\n\n- `app_key`: the key to encrypt the data\n- `db_dsn`: the database connection string\n\nYou can skip this initialization step by specifying the environment variables:\n- `APP_KEY`\n- `DB_DSN`\n\n### Create the Admin account\n```sh\n./tetua setup -u admin -p password\n```\n\n### Run the server\n\n```sh\n./tetua run\n```\n\n## Features\n\n* Posts Management\n* Page Management\n* Topics Management\n* Users Management\n* Role and Permission Management\n* Site Settings Management\n* Comment Management\n* File Management\n* User profile page\n* User posts page\n* Local file upload\n* S3 file upload\n* Sign in with Github\n* Sign in with Google\n* Sign in with Twiter\n\n## Documentation\n- Documentation is hosted live at [https://tetua.net](https://tetua.net)\n\n## Development\n\n*Requirements:*\n\n- Go 1.18+\n- [Goreleaser](https://github.com/goreleaser/goreleaser)\n\nThe development requires Go 1.18+ as we use `generic`\n\n### Clone the source code\n\n```sh\ngit clone https://github.com/ngocphuongnb/tetua.git\ncd tetua\ngo mod tidy\n```\n\n### Build the static editor\n\n```sh\nmake build_editor\n```\n\n### Run the test\n\n```sh\nmake test_all\n```\n\n### Build the local release for testing\n\n```sh\nmake releaselocal\n```\n\n### Public a release\n\n```sh\ngit tag -a vx.y.z -m \"Release note\"\ngit push origin vx.y.z\nmake release\n```\n\n## Road Map\n* [ ] Pages cache\n* [x] Sign in with Google\n* [x] Sign in with Twitter\n* [x] Sign up with email (local account)\n* [ ] Serial posts\n* [ ] Report Abuse\n* [ ] Complete the Unit Test\n\n## Screenshots\n\n![image](https://user-images.githubusercontent.com/3405842/167983805-ff26b8dc-27cb-4aa6-ae84-8ebfefae7dc8.png)\n\n![image](https://user-images.githubusercontent.com/3405842/167983866-32b3444e-591f-47e8-8b0a-d3f0cfd03aa3.png)\n\n![image](https://user-images.githubusercontent.com/3405842/167983936-66624f6b-660b-4ccf-a19f-71d35926c405.png)\n\n![image](https://user-images.githubusercontent.com/3405842/167984402-295dc7df-8286-4d8a-975e-ae097d9fa9ad.png)\n\n![image](https://user-images.githubusercontent.com/3405842/167984104-d08c9b3e-8f87-4041-b04a-ae384a1f46aa.png)\n\n\n## Contribute\nIf you want to say thanks and/or support the active development of Tetua, please consider some of the following:\n\n1. Add a GitHub Star to the project.\n2. Create a pull request.\n3. Fire an issue.\n\n## License\nCopyright (c) 2022-present @ngocphuongnb and Contributors. Tetua is free and open-source software licensed under the MIT License.\n\n**Third-party libraries:**\n\n- entgo.io/ent v0.10.1\n- github.com/Joker/hpp v1.0.0\n- github.com/Joker/jade v1.1.3\n- github.com/go-sql-driver/mysql v1.6.0\n- github.com/gofiber/fiber/v2 v2.30.0\n- github.com/golang-jwt/jwt/v4 v4.4.0\n- github.com/google/uuid v1.3.0\n- github.com/microcosm-cc/bluemonday v1.0.18\n- github.com/valyala/fasthttp v1.34.0\n- go.uber.org/zap v1.21.0\n- github.com/davecgh/go-spew v1.1.1\n- github.com/rclone/rclone v1.58.0\n- github.com/urfave/cli/v2 v2.4.0\n- ariga.io/sqlcomment v0.0.0-20211020114721-6bb67a62a61a\n- github.com/PuerkitoBio/goquery v1.8.0\n- github.com/dghubble/oauth1 v0.7.1\n- github.com/gofiber/utils v0.1.2\n- github.com/gorilla/feeds v1.1.1\n- github.com/tdewolff/minify/v2 v2.11.1\n- github.com/gosimple/slug v1.12.0\n- github.com/stretchr/testify v1.7.1\n- github.com/yuin/goldmark v1.4.11\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngocphuongnb%2Ftetua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngocphuongnb%2Ftetua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngocphuongnb%2Ftetua/lists"}