Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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"
```