Add the website
This commit is contained in:
parent
7df4345c1a
commit
dcc22a4d16
5 changed files with 103 additions and 0 deletions
6
.idea/ClojureProjectResolveSettings.xml
Normal file
6
.idea/ClojureProjectResolveSettings.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ClojureProjectResolveSettings">
|
||||||
|
<currentScheme>IDE</currentScheme>
|
||||||
|
</component>
|
||||||
|
</project>
|
64
website/index.html
Normal file
64
website/index.html
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" media="all" href="./styles.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<img src="logo.png">
|
||||||
|
|
||||||
|
<p class="header">yenu is a simple tool to <strong>share images among a trusted group of people</strong>. No
|
||||||
|
complicated setup, no fancy features nobody really uses, no role management,
|
||||||
|
no cloud, no bullshit. Just sharing images to people you like and store
|
||||||
|
your data where you want it to be.</p>
|
||||||
|
|
||||||
|
<h2>Another social platform?</h2>
|
||||||
|
<p>Yes and no. This is not Facebook, Instagram or a WhatsApp-Group. This is a
|
||||||
|
software package you have to host yourself. <strong>You are in charge of
|
||||||
|
your data</strong>. This sounds scary, but it is the right way to build and
|
||||||
|
maintain a <a href="http://www.wired.co.uk/magazine/archive/2014/03">decentralized internet</a>.
|
||||||
|
No worry about the setup, it is easier than you think.</p>
|
||||||
|
|
||||||
|
<h2>Where can I run this thing?</h2>
|
||||||
|
<p>Quick answer: Wherever you want. You can boot up an Amazon EC2 instance and deploy
|
||||||
|
it there or you can put it on your RaspberryPi and host it yourself from your
|
||||||
|
own internet connection from home (preferred way!). You can also rent a
|
||||||
|
vServer and deploy it there. All you need is a Java RE and a internet
|
||||||
|
connection.</p>
|
||||||
|
|
||||||
|
<h2>Installation and configuration</h2>
|
||||||
|
<p>First, <a href="">download the latest version</a> and extract the
|
||||||
|
archive. Compare the SHA256 hashsum to make sure, you have the original
|
||||||
|
files.</p>
|
||||||
|
|
||||||
|
<pre class="code">$ sha256sum yenu.tar.gz
|
||||||
|
9c57ce3cd53493048923ad138367aa3bc24ebb28c73d9ce77002f14a08f314f9</pre>
|
||||||
|
|
||||||
|
<p>Next, you can simply run the jar-file with the following command.</p>
|
||||||
|
|
||||||
|
<pre class="code">$ java -jar yenu.yar</pre>
|
||||||
|
|
||||||
|
<p>If you like docker, you can use docker-compose to boot up the application
|
||||||
|
and send it to the background</p>
|
||||||
|
<pre class="code">$ docker-compose up -d</pre>
|
||||||
|
|
||||||
|
<h2>Where is my data?</h2>
|
||||||
|
<p>All your images are placed in the <em>data/gallery/</em> directory, next to the
|
||||||
|
yenu.jar. When uploading a image, the raw file is placed into the raw/ folder,
|
||||||
|
if you need the original later (pull out some metadata like GPS coordinates,
|
||||||
|
scale it into other formats, print it etc.). The scaled down images for the
|
||||||
|
details page are stored in the <em>normal/</em> folder. The <em>thumbnails/</em> folder contains
|
||||||
|
the square images for the thumbnail preview.
|
||||||
|
|
||||||
|
The database used is a SQLite3 database, stored in the yenu.db file. You
|
||||||
|
can open the database at any time with your favourite SQLite3 client.</p>
|
||||||
|
|
||||||
|
<h2>License, copyrights and author</h2>
|
||||||
|
<p>This tool is written in <a href="https://clojure.org/">Clojure</a> by <a href="https://aaron-fischer.net/">Aaron Fischer</a>. It is free to use
|
||||||
|
and is placed under
|
||||||
|
the <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GPL v.3</a>. You
|
||||||
|
can inspect and download the sourcecode <a href="http://git.datenhalter.de/aaron/yenu">here</a>. The images,
|
||||||
|
comments and other metadata belongs to you. Make sure, you store the data on
|
||||||
|
a place you trust and make backups.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
website/logo.png
Normal file
BIN
website/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 139 KiB |
33
website/styles.css
Normal file
33
website/styles.css
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
body {
|
||||||
|
background-color: #141414;
|
||||||
|
margin: auto;
|
||||||
|
margin-top: 75px;
|
||||||
|
width: 60%;
|
||||||
|
|
||||||
|
color: white;
|
||||||
|
font-family: 'Open Sans', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
body > img {
|
||||||
|
max-width: 125%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #b2a74c;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #e8d326;
|
||||||
|
}
|
||||||
|
|
||||||
|
.code {
|
||||||
|
background-color: black;
|
||||||
|
font-family: Courier New;
|
||||||
|
margin: 0;
|
||||||
|
padding: 15px;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
BIN
website/tree.xcf
Normal file
BIN
website/tree.xcf
Normal file
Binary file not shown.
Loading…
Reference in a new issue