Giter Site home page Giter Site logo

jamestomasino / burrow Goto Github PK

View Code? Open in Web Editor NEW
55.0 6.0 10.0 134 KB

burrow is a helper for building and managing a gopher hole

Home Page: gopher://gopher.black

License: GNU General Public License v3.0

Makefile 4.89% Shell 88.97% Roff 6.14%
gopher makefile manpage gopher-server bash-completion gopher-hole shell-script

burrow's Introduction

JAMES TOMASINO(1)           General Commands Manual          JAMES TOMASINO(1)

NAME
       jamestomasino - developer, writer, table-top gamer, world traveller

SYNOPSIS
       jamestomasino [-aeiou]

DESCRIPTION
       James Tomasino does things on the internet. He administers a tilde com‐
       munity on the tildeverse and works as a freelance developer and digital
       marketing strategist, especially in Pharmaceutical advertising. He also
       enjoys writing both fiction and non-fiction and does so prolifically on
       the http, gopher, and gemini protocols.

       James Tomasino can be found in many of the following places

       The Tildeverse
              https://cosmic.voyage  is  a tilde community based around a col‐
              laborative science-fiction universe. Users write stories as  the
              people  aboard ships, colonies, and outposts, using the only re‐
              maining free, interconnected network that unites  the  dispersed
              peoples of the stars.

       Professional Stuff
              There's  plenty of work here on Github, but the vast majority is
              in private repositories. Much of the work in the last decade has
              been  for  pharmaceutical  companies  either in website, banner,
              email, conference panels, or digital sales aid form. In the past
              he has built applications on a number of platforms. If your pro‐
              fessional needs touch digital marketing  he's  probably  experi‐
              enced with it.

       Social things
              He spends a great deal of time in IRC over at irc.tilde.chat and
              freenode.net.     He's    also    on    the     Fediverse     at
              @[email protected]  , but the safest way to find him online is
              to refer to the links on https://tomasino.org.

EXIT STATUS
       The James Tomasino exits with a 0 code on success, a 42 if  discovering
       the  answer  to the great question of life the universe and everything,
       216 if being asked the sum of the 72 hidden names of God, and an imagi‐
       nary number if an error occurs.

EXAMPLES
       jamestomasino
              Answers, `Hello!'

       jamestomasino -a
              The sound he makes when falling from a great height

       jamestomasino -e
              Useful when encountering an unexpected spider in the bathroom

       jamestomasino -i
              He thinks, therefore he is

       jamestomasino -o
              Realization and understanding of a great hidden truth

       jamestomasino -u
              When someone gets a really good burn in

LICENSE
       Schrödinger License r3

       https://github.com/benlk/misc-licenses/blob/master/schrodinger-license.md

BUGS
       There are probably lots of problems with James Tomasino. If  you  can't
       hold  your tongue about them and need to call them out, I guess you can
       report issues at the git repositories  at
       https://github.com/jamestomasino

AUTHOR
       James Tomasino <github (at) jamestomasino (dot) com>

2020.08.29                      29 August 2020               JAMES TOMASINO(1)

burrow's People

Contributors

fosslinux avatar jamestomasino avatar munchotaur avatar pacoesteban avatar pingiun avatar smt avatar zcrayfish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

burrow's Issues

Title Case RSS Phlog Entries

The former sed solution to title-case phlog titles turns out to be gnu specific.

sed 's/.*/\L&/; s/[a-z]*/\u&/g' 

Need to find a posix way of doing it. Probably awk with substrings and loops.

Detect if editor is quit without saving and abort post

If you begin a phlog post and decide to abandon it, quitting the editor will continue to try and create the post. Add a mechanism for quitting without saving the file or otherwise signaling to burrow not to post.

Things to consider:

  • what if you have saved the file while working, but still want to quit?
  • is there any difference if you used a template file or not?
  • if I quit, has the file still been created locally? Do I need to remove it? What if this was an edit, not a new post?

Add task to edit root gophermap

Should creating a phlog, recipe, or topic generate a link in the gophermap if none exists? I think so. I'll probably do that too in here.

Extend commands to menu driven system

Currently each command does only one thing. As features are added, rework the interface to provide a menu of options and a default so complex tasks can be done.

For instance, the phlog command could offer:

1 - New Phlog
2 - List Phlogs
3 - Edit Phlog (and subsequent menu provides a list to choose from)
4 - Delete Phlog

For first pass, simple text menus with numeric input should suffice. Investigate ncurses for menu system later.

POSIX compliant

Updated everything to be POSIX compliant. Possibly rewrite to /bin/sh instead of bash

getopt doesn't work on OSX

Probably the wrong version of getopt is being used. Investigate and fix to be more broadly compatible.

server and port still written when config_gophermap_omitserver is used

I have not had much time to look into this, but when the config_gophermap_omitserver option is set, the server and port are still written into the phlog post itself.

It does seem to work in gophermap at the top of config_dir_phlog at least.

This causes issues when the server needs to send a different port to different clients (e.g. gophernicus running with both plain gopher and gopher over TLS)

Makefile failing on FreeBSD due to bash completion and make version

Make just fell over on FreeBSD 12.0. These three steps worked:

  1. Installing bash-completion via either pkg install bash-completion or via the shells/bash-completion port. (The first worked fine for me and was the simpler route).
  2. Installing the GNU version of make via either pkg install gmake or the port devel/gmake.
  3. Rather than running sudo make install, run sudo gmake install.

Maybe these could be added to the installation guidelines?

autoformat gophermaps breaks special gophernicus syntax

Gophernicus supports special gophermap directives like = * % and so on. These are not interpretted as links by burrow and are instead wrapped as type i, breaking them. Add detection for these and ignore as we do with gophermap links.

Add chmod override config option

Add an option to specify a chmod for new posts & gophermaps. If it's set, after creating or updating a file chmod it automatically. This would be helpful for systems with odd umask settings.

Phlog fold

Add option to auto-fold entry upon completion. Provide var for width in config.

RSS feed links incorrect

The link node is adding /./ and possibly the wrong type to the urls. Content is correct but not the nodes

Optionally skip line endings in gophermaps

Gophernicus and motsognir can both fill in the host & port names of gophermaps automatically. Skipping the line endings can add portability if you use those servers or host on multiple servers. Make this an optional feature disabled by default.

Feature request: config can override date format

The config file could usefully hold an optional line such as date_format to allow overrides of the default US date order. This would be great for those of us preferring a 'day, DD Month YYYY" format or what-have-you.

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.