📝 Update README with Gif

This commit is contained in:
makeworld 2020-06-18 19:10:45 -04:00
parent 9abb5ee27f
commit a1162fe471
5 changed files with 10 additions and 8 deletions

View File

@ -6,8 +6,6 @@
## Bugs
- Wrapping is messed up on CHAZ post, but nothing else
- Filed [issue 23](https://gitlab.com/tslocum/cview/-/issues/23)
- Error modal doesn't show the title
- Filed [issue 24](https://gitlab.com/tslocum/cview/-/issues/24)
- Text background not reset on ANSI pages
- Filed [issue 25](https://gitlab.com/tslocum/cview/-/issues/25)
- Inputfield isn't repeatedly in focus
@ -19,3 +17,4 @@
- Add GIF to README
- Pass `gemini://egsam.pitr.ca/` test
- Timeout for server not closing connection?
- Add titles to modal with `modal.GetFrame()`

View File

@ -1,11 +1,18 @@
# Amfora
![Amfora logo](logo.png)
##### Modified from: amphora by Alvaro Cabrera from the Noun Project
<center> <!-- I know, that's not how you usually do it :) -->
<img src="https://raw.githubusercontent.com/makeworld-the-better-one/amfora/master/logo.png" alt="amphora logo" width="30%">
<h6>Modified from: amphora by Alvaro Cabrera from the Noun Project</h6>
</center>
[![go reportcard](https://goreportcard.com/badge/github.com/makeworld-the-better-one/amfora)](https://goreportcard.com/report/github.com/makeworld-the-better-one/amfora)
[![license GPLv3](https://img.shields.io/github/license/makeworld-the-better-one/amfora)](https://www.gnu.org/licenses/gpl-3.0.en.html)
<center> <!-- I know, that's not how you usually do it :) -->
<img src="demo-large.gif" alt="Demo GIF" width="80%">
</center>
Amfora aims to be the best looking [Gemini](https://gemini.circumlunar.space/) client with the most features... all in the terminal. It does not support Gopher or other non-Web protocols - check out [Bombadillo](http://bombadillo.colorfield.space/) for that.
It also aims to be completely cross platform, with full Windows support. If you're on Windows, I would not reccomend using the default terminal software. Maybe use [Cmder](https://cmder.net/) instead?

BIN
demo-large.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

View File

@ -24,7 +24,6 @@ var errorModal = cview.NewModal().
SetTextColor(tcell.ColorWhite).
AddButtons([]string{"Ok"})
// TODO: Support input
var inputModal = cview.NewModal().
SetBackgroundColor(tcell.ColorGreen).
SetButtonBackgroundColor(tcell.ColorNavy).

View File

@ -49,9 +49,6 @@ func CanDisplay(res *gemini.Response) bool {
//
// Since this only works on non-preformatted blocks, renderGemini
// should always be used instead.
//
// TODO: Style cross-protocol links differently
//
func convertRegularGemini(s string, numLinks int) (string, []string) {
links := make([]string, 0)
lines := strings.Split(s, "\n")