mirror of https://git.sr.ht/~statianzo/brief
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
297 B
23 lines
297 B
# brief
|
|
|
|
Simple ruby service to obtain a title and description for a given url
|
|
|
|
|
|
# Setup
|
|
|
|
```
|
|
bundle install
|
|
```
|
|
|
|
# Running
|
|
|
|
```
|
|
ruby app.rb
|
|
```
|
|
|
|
And visit the `/summary` route of `localhost:4567`
|
|
|
|
```
|
|
http://localhost:4567/summary?url=https://www.nytimes.com/article/best-movies-netflix.html
|
|
```
|