Skip to content

slanterns-fork/rikka

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rikka - A simple photo share website.

中文版

Demo

I build a Demo website use rikka, it's password is rikka.

You can see the homepage:

Click Choose button to select a file to upload.

Input rikka password.

Click Upload button and wait.

Then you get:

Click Src, Markdown, HTML, RST button to copy the corresponding text to the clipboard, and paste to anywhere you want.

But, if you close this page, you have no way to find it back except from browser history(Or you save this url to other place).

This is intentional, Because main design concept of Rikka is Simple, Upload-Copy-Paste-Close,then you can forget Rikka.

Deploy

Way 1: Build Rikka on your VPS

  1. go get github.com/7sDream/rikka
  2. cd $GOPATH/src/github.com/7sDream/rikka
  3. go build github.com/7sDream/rikka
  4. ./rikka --port 80 --pwd yourpassword

Last step may require sudo, because Rikka use 80 port as default.

Then you can view your website and use the password you set to upload and share photo.

Way 2: Use Docker

Docker image published to DockerHub, just use it.

  1. docker pull 7sdream/rikka
  2. docker run -d -P 7sdream/rikka:latest -pwd yourpassword

Visit your domain or ip address with your browser and test it.

PS: If your stop/rm this container, your photo file will be deleted too. If you don't want this, use docker volume described bellow.

Add volume when run rikka

  1. Create a vloume: docker volume create --name rikkafiles
  2. add option -v rikkafiles:/go/src/github.com/7sDream/rikka/files when run rikka image

Way 3: Use docker cloud services provider

For example, we can use DaoCloud(free qutoa) to deploy a Rikka server,

See daocloud depoly tutorial for detail steps.

Packages

No packages published

Languages

  • Go 73.8%
  • HTML 13.6%
  • CSS 6.6%
  • JavaScript 6.0%