All Projects → jamestomasino → burrow

jamestomasino / burrow

Licence: GPL-3.0 license
burrow is a helper for building and managing a gopher hole

Programming Languages

shell
77523 projects
Roff
2310 projects
Makefile
30231 projects

Projects that are alternatives of or similar to burrow

flask-gopher
A Flask extension to support the Gopher protocol
Stars: ✭ 68 (+58.14%)
Mutual labels:  gopher, gopher-server
fortran-curl
Fortran 2008 interface bindings to libcurl
Stars: ✭ 25 (-41.86%)
Mutual labels:  gopher
Bash Argsparse
An high level argument parsing library for bash
Stars: ✭ 128 (+197.67%)
Mutual labels:  bash-completion
gopher
A gopher browser for plan9
Stars: ✭ 33 (-23.26%)
Mutual labels:  gopher
Completion Ruby
Command-line completion for Ruby-related commands under Bash: rake, bundle, gem, rails, ruby, jruby
Stars: ✭ 129 (+200%)
Mutual labels:  bash-completion
bash.env
Bash.env is a cascading Bash environment system for those who work on different hardware and OS environments. Similar to oh-my-zsh but for Bash, and special sauce for those who work 'ssh' on remote machines.
Stars: ✭ 50 (+16.28%)
Mutual labels:  bash-completion
Dargs
Enhance any command with dynamic arguments
Stars: ✭ 107 (+148.84%)
Mutual labels:  bash-completion
overbitenx
Because Firefox isn't complete without Gopherspace.
Stars: ✭ 50 (+16.28%)
Mutual labels:  gopher
manpages-zh
Chinese Manual Pages
Stars: ✭ 985 (+2190.7%)
Mutual labels:  manpage
htmlhost
hostHTML.live is downright the fastest way of hosting your single page HTML!
Stars: ✭ 21 (-51.16%)
Mutual labels:  gopher
Emacs Bash Completion
Add programmable bash completion to Emacs shell-mode
Stars: ✭ 217 (+404.65%)
Mutual labels:  bash-completion
Tmux Bash Completion
Tmux bash completion
Stars: ✭ 153 (+255.81%)
Mutual labels:  bash-completion
ps-bash-completions
Bridge to enable bash completions to be run from within PowerShell.
Stars: ✭ 61 (+41.86%)
Mutual labels:  bash-completion
Magento2 Bash Completion
Magento2 Bash Completion
Stars: ✭ 129 (+200%)
Mutual labels:  bash-completion
Yarn Completion
Bash completion for Yarn
Stars: ✭ 210 (+388.37%)
Mutual labels:  bash-completion
Bash Completion Tutorial
Code of the bash completion tutorial
Stars: ✭ 110 (+155.81%)
Mutual labels:  bash-completion
fastHistory
A python tool connected to your terminal to store important commands, search them in a fast way and automatically paste them into your terminal
Stars: ✭ 24 (-44.19%)
Mutual labels:  manpage
fzf-obc
fzf over bash complete
Stars: ✭ 34 (-20.93%)
Mutual labels:  bash-completion
gophersnake
Stand-alone Gopher client for modern desktops
Stars: ✭ 14 (-67.44%)
Mutual labels:  gopher
gopherbot
Source code for the gopher Slack Bot rewrite
Stars: ✭ 29 (-32.56%)
Mutual labels:  gopher

burrow status license

burrow is a helper for building and managing a gopher hole.

Installation

Note: On systems without admin access the binary can be run directly from the git repo, but will lack man support and command completion.

See the Getting Started guide.

Install on Linux / MacOS

sudo make install

Install on BSD systems

FreeBSD

  • Installing bash-completion via either pkg install bash-completion or via the shells/bash-completion port.
  • Installing the GNU version of make via either pkg install gmake or the port devel/gmake.
  • Rather than using sudo make install, run sudo gmake install.

OpenBSD

  • Install the GNU version of make via either pkg_add gmake or the port devel/gmake.
  • There is no bash-completion package or port in OpenBSD. However the source code can be found at https://github.com/scop/bash-completion
  • Burrow appears to install and run without the presence of bash-completion. Exercise caution.
  • As root (or via doas), run gmake install.

Uninstall

sudo make uninstall # or gmake uninstall on BSD

Usage

burrow phlog          # create new phlog post
burrow gophermap      # edit a gophermap
burrow rss            # generate a RSS feed of phlog entries
burrow edit-config    # open your config file for editing
burrow update-git     # pull latest git repo for gopher dir, if exists
  • edit-config will open your burrow configuration file for easy editing.

  • phlog will prompt for the title of a new post, then open it in your default $EDITOR.

  • gophermap will open a gophermap file for editing. This will remove any type i formatting and allow comments to be added in natural text. You will still need to create links in the proper gophermap formatting.

  • rss will automatically generate an RSS feed of your most recent phlog entries and output it to the root of your gopher directory. This can be automatically generated by using the config option config_phlog_autorss.

  • update-git will silently attempt to update a git repository at the location of your gopher hole. It is appropriate for use by a cron job.

man burrow or burrow -h for more information.

Config

The following locations are available for configuration:

  1. /etc/burrow/config
  2. $XDG_CONFIG_HOME
  3. $HOME/.config/burrow/config
  4. $HOME/.config/burrow
  5. $HOME/.burrow

These files are processed in the order listed. Variables defined in multiple locations will use the last assigned value.

The following options are available (defaults shown):

config_dir_gopher="$HOME/gopher"       # local path to gopher site
config_gopher_server="sdf.org"         # server of gopher host
config_gopher_port="70"                # port of gopher host
config_gopher_root="/users/username/"  # path on gopher host to gopher site

config_dir_phlog="phlog"               # relative path to phlog
config_phlog_gophermap=true            # phlogs use gophermap format by default
config_phlog_usedate=true              # use a date-stamp on phlog posts

config_git_commit=false                # automatically commit changes if git repo
config_git_push=false                  # automatically push changes if git repo

config_autoindent=true                 # automatically reformat gophermaps with leading "i"
                                       # types and parse links at the end of file

config_file_rss="rss.xml"              # filename of RSS feed
config_gopher_name="My Gopher Hole"    # used in RSS feed output
config_gopher_desc="Description"       # used in RSS feed output
config_rss_num_entries="10"            # number of entries to inclued in RSS feed
config_phlog_autorss=false             # automatically generate RSS feed

Note: This file is a valid Bash script and will be sourced upon load.

Disambiguity

There is another burrow project created by sloumdrone. His burrow project is a GUI gopher client. Please check it out!

There is also another project called "Burrow the Burrows" which can be found on gopher at: gopher://kalos.mine.nu/1/burrow/index.gph. It aims to construct and maintain a graph of the whole Gopherspace.

There is another static site generator for gopher written in Haskell by @hyperrealgopher. It has similar features to my burrow.

Armen now has a gemini & spartan server named burrow.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].