Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diegodlh/unofficial-hypothesis-extension
Unofficial Hypothesis extension.
https://github.com/diegodlh/unofficial-hypothesis-extension
Last synced: 17 days ago
JSON representation
Unofficial Hypothesis extension.
- Host: GitHub
- URL: https://github.com/diegodlh/unofficial-hypothesis-extension
- Owner: diegodlh
- License: bsd-2-clause
- Fork: true (hypothesis/browser-extension)
- Created: 2020-03-18T16:00:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-26T13:20:23.000Z (almost 4 years ago)
- Last Synced: 2024-08-08T18:24:36.995Z (4 months ago)
- Language: JavaScript
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/unofficial-hypothesis/
- Size: 9.76 MB
- Stars: 96
- Watchers: 6
- Forks: 3
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT
Awesome Lists containing this project
- awesome-starred - diegodlh/unofficial-hypothesis-extension - Unofficial Hypothesis extension. (others)
- jimsghstars - diegodlh/unofficial-hypothesis-extension - Unofficial Hypothesis extension. (JavaScript)
README
Unofficial Hypothesis extension
===============================[![BSD licensed](https://img.shields.io/badge/license-BSD-blue.svg)][license]
[license]: https://github.com/diegodlh/unofficial-hypothesis-extension/blob/master/LICENSE
The *unofficial* Hypothesis extension allows you to annotate web documents using your
[Hypothesis][service] account.It is a fork of the *official* [Hypothesis browser extension(s)](https://github.com/hypothesis/browser-extension).
Its main purpose is to provide a working extension for the Firefox browser. See this [thread](https://github.com/hypothesis/browser-extension/issues/310) for more details.To install on your Firefox browser, download it from [here][amo].
![Screenshot of Hypothesis client](/images/screenshot.png?raw=true)
[service]: https://hypothes.is
Extra features
-----------
As of v1.470.0.1, the Unofficial extension for Hypothesis enables some customization
of the annotation client. Read more about it [here][extra-features].[extra-features]: docs/extra-features.md
Known bugs
-----------* Annotating local PDFs is not supported because Firefox is more restrictive than Chrome regarding extension access to local files. See issue [#100](https://github.com/hypothesis/browser-extension/issues/100).
Contribute
-----------
**Do you like this extension?**Please, star it here and review it on [AMO][amo].
**Would you like to support its development and maintenance?**
[Buy me][donate] a coffee, or a beer ;)
**Did you find a bug?**
Please, report it [here][issues]!
**Do you have suggestions, or ideas for new features?**
I’ll be happy to hear about them! Let’s discuss them [here][issues].
[amo]: https://addons.mozilla.org/en-US/firefox/addon/unofficial-hypothesis/
[donate]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z96DVUZGG3ZKU&source=url
[issues]: https://github.com/diegodlh/unofficial-hypothesis-extension/issuesDevelopment
-----------The code for the extensions is in the `src/` directory, and can be built into a
browser extension by running:npm install
make SETTINGS_FILE=settings/firefox-prod-amo.jsonOnce this is done you should be able to load the `build/` directory as an
unpacked extension.Use `settings/firefox-prod-self.json` for self distribution, instead of distribution through AMO (addons.mozilla.org).
This includes the update_url field in the manifest.json file to handle automatic updates of the self distributed extension.The extension code has a test suite, which you can run using:
npm test
Note that the browser extensions are for the most part just a wrapper around the
[*unofficial* Hypothesis client][unofficial-client]. Depending on what you're interested in working on,
you may need to check out the client repository too. If you do that, you can get
the browser extension repository to use your checked-out `unofficial-hypothesis-client` repository by
runningnpm link
in the `unofficial-hypothesis-client` repository, and then
npm link unofficial-hypothesis
in the `unofficial-browser-extension` repository. After that, a call to `make` will use the
built client from the client repository. Please consult the client's
documentation for instructions on building the client in a development
environment.**Tip**: If you get a **permission denied** error when running `npm link`
you probably need to fix npm's permissions. See
[Fixing npm permissions](https://docs.npmjs.com/getting-started/fixing-npm-permissions).**Tip**: To **unlink** your dev browser extension from your dev client run
`npm unlink unofficial-hypothesis` in your browser extension directory
(see the [npm uninstall docs](https://docs.npmjs.com/cli/uninstall)).See [Building the extension](docs/building.md) for more information.
[unofficial-client]: https://github.com/diegodlh/unofficial-hypothesis-client/
License
-------The *unofficial* Hypothesis extension is released under the [2-Clause BSD
License][bsd2c], sometimes referred to as the "Simplified BSD License". Some
third-party components are included. They are subject to their own licenses. All
of the license information can be found in the included [LICENSE][license] file.[bsd2c]: http://www.opensource.org/licenses/BSD-2-Clause
[license]: https://github.com/diegodlh/unofficial-hypothesis-extension/blob/master/LICENSE