https://github.com/casbin/casdoc
Docs helper based on OpenAI ChatGPT
https://github.com/casbin/casdoc
Last synced: about 2 months ago
JSON representation
Docs helper based on OpenAI ChatGPT
- Host: GitHub
- URL: https://github.com/casbin/casdoc
- Owner: casbin
- License: apache-2.0
- Created: 2023-05-27T13:11:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-28T18:29:44.000Z (over 2 years ago)
- Last Synced: 2024-10-29T12:57:03.705Z (about 1 year ago)
- Language: Go
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# casdoc
Docs helper based on OpenAI ChatGPT
## Usage
1. apply a OpenAI token: https://github.com/settings/tokens
2. set an environment variable: `export CASDOC_AUTHTOKEN=your_token`
3. set an environment variable: `export CASDOC_REPOPATH=path/to/repo`
4. run `go run main.go` or `go build && ./casdoc` or `go test -v -run TestPolishDocs`
## LICENSE
[Apache 2.0 License](LICENSE)