Coder Social home page Coder Social logo

hedyhli / gelim Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 1.4 MB

minimalist gemini/spartan client, feels a bit like a shell tbh

Home Page: https://sr.ht/~hedy/gelim

License: MIT License

Go 97.42% Makefile 2.58%
golang gemini gemini-client cli repl hacktoberfest

gelim's Introduction

      ___           ___           ___       ___       ___     
     /\__\         /\  \         /\__\     /\__\     /\  \    
    /:/  /        /::\  \       /:/  /    /:/  /    /::\  \   
   /:/__/        /:/\:\  \     /:/  /    /:/  /    /:/\:\  \  
  /::\  \ ___   /::\~\:\  \   /:/  /    /:/  /    /:/  \:\  \ 
 /:/\:\  /\__\ /:/\:\ \:\__\ /:/__/    /:/__/    /:/__/ \:\__\
 \/__\:\/:/  / \:\~\:\ \/__/ \:\  \    \:\  \    \:\  \ /:/  /
      \::/  /   \:\ \:\__\    \:\  \    \:\  \    \:\  /:/  / 
      /:/  /     \:\ \/__/     \:\  \    \:\  \    \:\/:/  /  
     /:/  /       \:\__\        \:\__\    \:\__\    \::/  /   
     \/__/         \/__/         \/__/     \/__/     \/__/    
 ~> cat note.txt
1. If I'm not responding to any of your PRs or issues,
   feel free to remind me via email.
2. I use sourcehut (primarily) to host my repositories.
   Most of them has github mirrors.
 
 ~> ls socials
 Fediverse: @[email protected]

 ~> finger hedy
Login: hedy                             Name: hedy
Directory: /home/hedy                   Shell: /usr/bin/fish
Project:
  - dotfiles
  - outline.nvim
  - Drafting (b|gem|ph|sh)log posts - but not publishing :>
  - Working on gelim (terminal gemini client) and spsrv (spartan server).
Plan:
  Learning \o/

octo ring [prev] [random] [next]

gelim's People

Contributors

codesoap avatar hedyhli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gelim's Issues

command to pipe recent output

pipe command, aliased to | that can take the most recent output and run a shell command with the output passed as stdin.

centered output with page margins and fix paragraph wrapping

two things

  1. paragraph wrapping: page paragraphs aren't wrapped properly by ansiwrap. Take any gemlog post for example, the paragraphs aren't wrapped evenly. some fills the entire width of the screen and some doesn't. We might need a different wrapping library for this
  2. page centering and maring: have a config option like maxWidth that takes an integer value of maximum screen width to fill when rendering a page. And then it will have the content centered with empty spaces on either sides like in amfora, bombadillo etc.
|         # title title        |
|           content            |
|           content            |
|           content            |
|           content            |
|           content            |
|                              |

Shell echo typing disabled after quit

Affected shells: bash, (probably) sh

Oldest bad commit: b9f595b

To reproduce:

  1. open bash
  2. open gelim
  3. quit

Expected behaviour: prompt returns, shell/terminal works as normal

Actual behaviour: input to the shell is no longer echoed. Only fixed with reset or stty sane

(Related: peterh/liner#104)

browsing localhost error

I get this when browsing my developing gmifs server: gelim localhost

[ERROR] dial tcp: lookup .: No address associated with hostname

I don't know how to trouble shoot this. All I can say is amfora allows local browsing.

BTW I enjoy how this browser functions. There are several reasons but one of my favorites is the "tour" option. Very cool.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.