Code Monkey home page Code Monkey logo

rikka's Introduction

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.

rikka's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.