Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blue0513/go-summarizer
Summarize web page by ChatGPT
https://github.com/blue0513/go-summarizer
golang
Last synced: 15 days ago
JSON representation
Summarize web page by ChatGPT
- Host: GitHub
- URL: https://github.com/blue0513/go-summarizer
- Owner: blue0513
- License: mit
- Created: 2024-10-13T15:39:05.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-17T06:42:25.000Z (3 months ago)
- Last Synced: 2024-12-31T04:34:36.732Z (21 days ago)
- Topics: golang
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-summarizer
Summarize web page by ChatGPT
## Setup
```shell
export OPENAI_API_KEY="YOUR_API_KEY"
```or if you use [direnv](https://direnv.net/):
```shell
cp .envrc.example .envrc
# edit .envrc
```## Quick start
```shell
make run URL="http://example.com"
```## Usage
```shell
go run . --url "http://example.com" --lang "English"
```## Install
```shell
# Install as `go-summarizer`
make install
go-summarizer --url "http://example.com" --lang "English"
```