Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/IntrinsicLabsAI/summarizer-app
A fast Apple Shortcut to summarize any URL with GPT 3.5!
https://github.com/IntrinsicLabsAI/summarizer-app
app-platform apple chatgpt digitalocean gpt-3 openai shortcuts
Last synced: about 2 months ago
JSON representation
A fast Apple Shortcut to summarize any URL with GPT 3.5!
- Host: GitHub
- URL: https://github.com/IntrinsicLabsAI/summarizer-app
- Owner: IntrinsicLabsAI
- License: mit
- Created: 2023-03-28T19:43:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T18:02:25.000Z (9 months ago)
- Last Synced: 2024-08-13T07:07:23.567Z (5 months ago)
- Topics: app-platform, apple, chatgpt, digitalocean, gpt-3, openai, shortcuts
- Language: Python
- Homepage:
- Size: 3.88 MB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - IntrinsicLabsAI/summarizer-app - A fast Apple Shortcut to summarize any URL with GPT 3.5! (Python)
README
# ChatGPT Summarizer Apple Shortcut ⚡️ 📲💻
This repository contains the code and documentation to setup a self-hosted proxy that lets you with **one tap** summarize webpages from your Apple devices. Use it for
* Articles and Blog Posts
* Github READMEs
* HN commentsIt's entirely self-hosted: the Shortcut runs directly on your device, and the proxy is deployed directly onto a serverless hosting platform, such as
[Digital Ocean App Platform](https://www.digitalocean.com/products/app-platform) or [Heroku](https://www.heroku.com/).## Usage
The app uses [FastAPI](https://github.com/tiangolo/fastapi) to provide a small endpoint that accepts a URL, and [BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) to extract text from the webpage. This text is sent to OpenAI's [ChatCompletions](https://platform.openai.com/docs/guides/chat) service to create a succinct summary.
E.g. let's say that you have deployed this repo as an app available at `https://summaries.app.dev`, you would send requests that look like
```
POST https://summaries.app.dev/summarizeContent-Type: application/json
{
"url": "https://github.com/stallionlabs/summarizer-app/blob/main/README.md"
}
```The response will be string containing the summary, that's it!
## Deployment
> We provide one-click Digital Ocean App Engine deploys, but you can use any app host you like!
If you have a Digital Ocean account, you can click the big blue button to easily deploy this and get to self-hosting! If you go for the Basic plan it will cost you $5/month to run it.
[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/stallionlabs/summarizer-app/tree/main)
## Shortcut Setup
The Shortcut is [publicly accessible via iCloud](https://www.icloud.com/shortcuts/edd2f4b6ff5a4580a7239fbb8fdb2c06).
Or, since we're on a real big-blue-buttons bender, go ahead and click this
Apple Shortcuts run privately on your devices, so when you import it you will be prompted to provide the URL for the app endpoint that you are using to hit the device.
The Shortcut is very simple, it's just grabbing the URL of the page you're on, sending it to your self-hosted app, and showing the result to you. That's it!
Once you've answered the prompt, the Shortcut will now show up in your share sheet on apps like Safari and Chrome, or on macOS in any browser.