Browse Source

small restructure, some new features too

master
c? 2 years ago
parent
commit
e5d035d8da
8 changed files with 36 additions and 29 deletions
  1. 1
    0
      .gitignore
  2. 0
    29
      README.md
  3. 1
    0
      README.md
  4. 0
    0
      commit.html
  5. 29
    0
      misc/README.md
  6. 1
    0
      misc/fetch.sh
  7. 3
    0
      misc/post-merge.example
  8. 1
    0
      misc/setup.sh

+ 1
- 0
.gitignore View File

@@ -1,3 +1,4 @@
mdl/material.min.js
mdl/material.indigo-deep_orange.min.css
css/animate.min.css
commit.html

+ 0
- 29
README.md View File

@@ -1,29 +0,0 @@
# Bang!

The DerpMail webapp frontend.

https://webmail.derpmail.pw/

Bang! loads DerpMail webapps inside a frame so that we can inject code
and make other special things happen with our webapps, without modifying
the webapps themselves too much.

Bang! also has some special UI features that allow it to be used as an
express DerpMail Mobile Lite app for Android by simply adding any Bang!
enabled webapp to the home screen within Chrome. Bang! also has
compatibility with DerpMail Mobile Plus (or DerpMail+) to allow some
special things to happen.

## Installation

```
mkdir /path/to/my/bang/webroot
cd /path/to/my/bang/webroot
git clone https://git.drg.li/DerpMail/bang.git
cd bang
./fetch.sh
cd ..
ln -s bang/bang.html index.html
```
Install or symlink your webapp to `bangapp` in your webroot
Set the ErrorDocument 404 to /bang/404.html

+ 1
- 0
README.md View File

@@ -0,0 +1 @@
misc/README.md

+ 0
- 0
commit.html View File


+ 29
- 0
misc/README.md View File

@@ -0,0 +1,29 @@
# Bang!

The DerpMail webapp frontend.

https://webmail.derpmail.pw/

Bang! loads DerpMail webapps inside a frame so that we can inject code
and make other special things happen with our webapps, without modifying
the webapps themselves too much.

Bang! also has some special UI features that allow it to be used as an
express DerpMail Mobile Lite app for Android by simply adding any Bang!
enabled webapp to the home screen within Chrome. Bang! also has
compatibility with DerpMail Mobile Plus (or DerpMail+) to allow some
special things to happen.

## Installation

```
mkdir /path/to/my/bang/webroot
cd /path/to/my/bang/webroot
git clone https://git.drg.li/DerpMail/bang.git
cd bang
./fetch.sh
cd ..
ln -s bang/bang.html index.html
```
Install or symlink your webapp to `bangapp` in your webroot
Set the ErrorDocument 404 to /bang/404.html

fetch.sh → misc/fetch.sh View File

@@ -2,6 +2,7 @@
# This script will grab the external resources.
# Just cd into the bang directory and run `./fetch.sh`
# Requires wget, obviously.
cd ..
wget -O css/animate.min.css https://raw.github.com/daneden/animate.css/master/animate.min.css
wget -O mdl/material.indigo-deep_orange.min.css https://code.getmdl.io/1.3.0/material.indigo-deep_orange.min.css
wget -O mdl/material.min.js https://code.getmdl.io/1.3.0/material.min.js

+ 3
- 0
misc/post-merge.example View File

@@ -0,0 +1,3 @@
#!/bin/sh
# If you cloned this repo from git, you can copy this file to ../.git/hooks/post-merge to make the git commit version display at the bottom of the menu work.
git rev-parse --short HEAD > commit.html

+ 1
- 0
misc/setup.sh View File

@@ -0,0 +1 @@
# This does nothing, yet...

Loading…
Cancel
Save