Menu

Tree [b07500] main v0.6 /
 History

HTTPS access


File Date Author Commit
 doc 2023-05-10 Robert Kidd Robert Kidd [43739d] Reduce size of screenshot
 testdata 2023-05-18 Robert Kidd Robert Kidd [8d08df] Add test data to exercise external links
 .gitignore 2023-05-09 Robert Kidd Robert Kidd [e9dce8] Initial commit to github
 CHANGELOG 2025-01-05 Robert Kidd Robert Kidd [b07500] Update CHANGELOG and README
 COPYING 2023-05-09 Robert Kidd Robert Kidd [e9dce8] Initial commit to github
 Makefile 2024-06-11 Robert Kidd Robert Kidd [fd8850] Update copyright date
 README.guide 2025-01-05 Robert Kidd Robert Kidd [b07500] Update CHANGELOG and README
 README.md 2025-01-05 Robert Kidd Robert Kidd [b07500] Update CHANGELOG and README
 aguide.css 2025-01-05 Robert Kidd Robert Kidd [b07500] Update CHANGELOG and README
 aguide.html 2024-06-11 Robert Kidd Robert Kidd [fd8850] Update copyright date
 aguide.js 2025-01-05 Robert Kidd Robert Kidd [b07500] Update CHANGELOG and README
 background.js 2024-06-08 Robert Kidd Robert Kidd [bd1b2a] Add a configurable theme
 icon.svg 2023-05-09 Robert Kidd Robert Kidd [e9dce8] Initial commit to github
 icon16x16.png 2023-05-09 Robert Kidd Robert Kidd [e9dce8] Initial commit to github
 icon32x32.png 2023-05-09 Robert Kidd Robert Kidd [e9dce8] Initial commit to github
 icon48x48.png 2023-05-09 Robert Kidd Robert Kidd [e9dce8] Initial commit to github
 icon64x64.png 2023-05-09 Robert Kidd Robert Kidd [e9dce8] Initial commit to github
 icon96x96.png 2023-05-09 Robert Kidd Robert Kidd [e9dce8] Initial commit to github
 manifest.json 2025-01-05 Robert Kidd Robert Kidd [b07500] Update CHANGELOG and README
 prefs.html 2024-06-08 Robert Kidd Robert Kidd [bd1b2a] Add a configurable theme
 prefs.js 2024-06-11 Robert Kidd Robert Kidd [82c5a6] Fix native link and button borders; apply theme...
 scan.js 2024-06-11 Robert Kidd Robert Kidd [fd8850] Update copyright date

Read Me

@database README.guide

@rem Copyright 2023-2024 Robert Kidd

@rem This file is part of AGuide Viewer.

@rem AGuide Viewer is free software: you can redistribute it and/or
@rem modify it under the terms of the GNU General Public License as
@rem published by the Free Software Foundation, either version 3 of the
@rem License, or (at your option) any later version.

@rem AGuide Viewer is distributed in the hope that it will be useful, but
@rem WITHOUT ANY WARRANTY; without even the implied warranty of
@rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@rem General Public License for more details.

@rem You should have received a copy of the GNU General Public License
@rem along with AGuide Viewer. If not, see
@rem <https://www.gnu.org/licenses/>.

@node main "README.guide"

AGuide Viewer
Copyright 2023-2024 Robert Kidd

See the end of the file for license conditions.

@{" Introduction " Link "Introduction"}
@{" Installation " Link "Installation"}
@{" Usage " Link "Usage"}
@{" Preferences " Link "Preferences"}
@{" Limitations " Link "Limitations"}
@{" Building the extension " Link "Building"}
@{" Contact " Link "Contact"}
@{" License " Link "License"}

@endnode

@node "Introduction" "Introduction"

Introduction

AGuide Viewer is an open source reader for AmigaGuide documents
implemented as a browser extension.  It works with Firefox* and
Chromium* on all platforms.

* Tested on Windows and Linux

@endnode

@node "Installation" "Installation"

Installation

Firefox:
 - Download the release build from https://sourceforge.net/projects/aguide-viewer/files/v0.6/aguide-0.6.xpi/download
 - Tools > Add-ons
 - (Gear icon) > Install Add-on From File...
 - Choose aguide-0.6.xpi

Firefox (development build):
 - Browse to about:debugging#/runtime/this-firefox
 - Choose Load Temporary Add-on...
 - Load aguide.xpi or manifest.json

Chromium:
 - Chrome requires loading an unpacked extension.  You can either
   clone the git repository or download and unzip the .xpi file.
 - Clone git repository:
   - git clone https://git.code.sf.net/p/aguide-viewer/code aguide-viewer
 - Unzip aguide.xpi
   - mkdir aguide-viewer
   - cd aguide-viewer
   - unzip ../aguide.xpi
 - Choose More tools -> Extensions
 - Load the aguide-viewer directory as an unpacked extension
 
@endnode

@node "Usage" "Usage"

Usage

The extension installs hooks to detect downloads of files with a
.guide filename extension or that start with the '@database' sequence.
AmigaGuide documents downloaded from the web are automatically
rendered in the browser.  This behavior can be configured; see below.

The extension supports viewing local files.  Open a local file using
any method supported by the browser, entering a file:/// URL, use the
File->Open menu option, or use the operating system's file manager to
open a .guide file with the browser.

Alternatively, AGuide Viewer can be launched by clicking the AGV icon
in the browser's toolbar.  If the current page is an AmigaGuide
document, it will be displayed.  Otherwise, a new tab will open with
an empty viewer.  The interface mimics that of the AmigaGuide or
MultiView utilities.

Navigation buttons (Contents, Retrace, Browse) work as they do in the
native Amiga readers.  The browser's native history commands also work
as normal.

@endnode

@node "Preferences" Preferences

Click the Preferences... button in the toolbar to change settings.

@{b}AmigaGuide Detection@{ub}

* Detect by filename: Detect downloads of files with a filename
  extension of .guide and display in the viewer.

* Detect by signature: Inspect the first 9 bytes of each download and
  display in the viewer if the file starts with '@database'.

If all auto-detect options are disabled, AmigaGuide documents will
load as plain text.  Click the AGV icon in the toolbar to render the
document as hypertext.

@endnode

@node "Limitations" "Limitations"

Limitations

Links from one AmigaGuide document to another may not work as expected
when browsing local files in Firefox.  Firefox blocks direct links to
local files from the extension.  To open such a link, right click,
open the link in a new tab or window, then reload the new tab to
render.

@endnode

@node "Building" "Building the extension"

Building the extension

The extension doesn't need to be built to test changes.  Follow the
installation procedure above and select manifest.json or the directory
that contains manifest.json, depending on browser.

Building the extension bundle requires the following packages.
 - make
 - zip

To build the extension bundle
 % make

Tagging and packaging the extension for distribution requires
additional packages.
 - git
 - jq (https://stedolan.github.io/jq)

To tag and package for distribution
 % make dist VERSION=vers

@endnode

@node "Contact" Contact"

Contact for bugs, patches, etc
Robert Kidd <robert.kidd@gmail.com>

@endnode

@node "License" "License"

License

AGuide Viewer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.

AGuide Viewer is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with AGuide Viewer. If not, see <https://www.gnu.org/licenses/>.

@endnode
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.