Browse Source

Update readme, description

tags/v0.1.0
Gerben 5 years ago
parent
commit
d0c197279c
2 changed files with 16 additions and 8 deletions
  1. +12
    -4
      Readme.md
  2. +4
    -4
      appinfo/info.xml

+ 12
- 4
Readme.md View File

@@ -12,10 +12,18 @@ contain (of course, the downside is that your web pages cannot use javascript fo

The common usage is to first share a file and enable public access through a link. If the share link
is `https://my-nextcloud/s/aBc123DeF456xyZ`, then this app will provide access to the raw file at
`https://my-nextcloud/apps/raw/s/aBc123DeF456xyZ`.
`https://my-nextcloud/apps/raw/s/aBc123DeF456xyZ`. If the share is a folder, the files within it
are accessible as e.g. `https://my-nextcloud/apps/raw/s/aBc123DeF456xyZ/path/to/file`.

A user can also access their own private files. For example, a file named `test.html` in anansi's
Documents folder would be available at `https://my-nextcloud/apps/raw/u/anansi/Documents/test.html`.

## Installation

Copy/clone this repo into your Nextcloud installation's `/apps` (or `/custom_apps`) folder, log into
Nextcloud as an admin and find&enable it in the list of apps.

This app is currently not published in the Nextcloud app store.

Private files are also hosted by this app, but of course only to users that are logged in and
have permission to read them. For example, a file named `test.html` in the Documents folder would be
available at `https://my-nextcloud/apps/raw/files/Documents/test.html`.

[Content-Security-Policy]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy

+ 4
- 4
appinfo/info.xml View File

@@ -17,11 +17,11 @@ contain (of course, the downside is that your web pages cannot use javascript fo

The common usage is to first share a file and enable public access through a link. If the share link
is `https://my-nextcloud/s/aBc123DeF456xyZ`, then this app will provide access to the raw file at
`https://my-nextcloud/apps/raw/s/aBc123DeF456xyZ`.
`https://my-nextcloud/apps/raw/s/aBc123DeF456xyZ`. If the share is a folder, the files within it
are accessible as e.g. `https://my-nextcloud/apps/raw/s/aBc123DeF456xyZ/path/to/file`.

Private files are also hosted by this app, but of course only to users that are logged in and
have permission to read them. For example, a file named `test.html` in the Documents folder would be
available at `https://my-nextcloud/apps/raw/files/Documents/test.html`.
A user can also access their own private files. For example, a file named `test.html` in anansi's
Documents folder would be available at `https://my-nextcloud/apps/raw/u/anansi/Documents/test.html`.

[Content-Security-Policy]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
</description>


Loading…
Cancel
Save