Coder Social home page Coder Social logo

chivehao / rikka Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 7sdream/rikka

0.0 0.0 0.0 2.98 MB

A simple image share system in go.

Home Page: https://rikka.7sdre.am

License: MIT License

JavaScript 4.59% Go 83.14% CSS 3.09% Makefile 1.39% HTML 6.96% Dockerfile 0.82%

rikka's Introduction

Rikka - A simple image share system

中文版

Rikka is written in Golang primarily, and provide Docker image.

Rikka image has been published to DockerHub, just try it!

Badges above shows latest version and size of Rikka image.

Introduction

Rikka(りっか in Japanese, sound like /ɾʲikka/, not /rikka/)is a integral personal image share system, includes:

  • A web application (See Demo section)
  • A REST API server (See API Doc)
  • A CLI tool named Rikkac based on the API (See Rikkac Doc)
  • Image save plugins (See Plugins Doc to get all available plugins)

Other parts not written in Golang (in plan):

  • Android client
  • iOS client

Feature and Advantage

  1. Simple and minimalist, no upload history
  2. Image address can be copied to various formats
  3. Many available image save plugins, such as weibo, QinNiu, UPai, Tencent Cloud, etc.
  4. REST API provided
  5. Modular Web server and API server
  6. CLI tool provided
  7. Only guarantee support for recent versions of Chrome/Firefox/Safari
  8. Cute homepage image
  9. An active maintainer :)

Demo

There is a Demo site built with Rikka, password is rikka, just try it. Because the free docker service provider I used stop it's free plan, the demo is on my personal VPS now. So the password is not given anymore, but you can also visit it and have a look :)

homepage:

homepage

Click Choose button to choose an image.

Input passwordrikka.

Click Upload button.

If no error happened, you will be redirect to preview page:

view_page

You will see a "Please wait" message If you uploaded a large file and save process is not finished, just wait a second.

When you see image url, you can click Src, Markdown, HTML, RST, BBCode button to copy image url in that format.

But: Once you close this page, you can't get it back except from browser history(Or you save the url).

This is intentional. The main design concept is simple, just Upload-Copy-Close-Paste, then you can forget Rikka.

BTW: The preview image of Demo site is saved in Rikka too. (But Github will put images which in Markdown files into its own CDN to accelerate access)

Plugins

Truly image save back-end of Rikka is written as plugins, can be specified by -plugin option.

Please see Rikka Plugins Doc for available plugins.

API

See Rikka API Doc.

CLI - Rikkac

Rikkac is a CLI tool for Rikka based on Rikka's REST API.

Build, install, configure and use guide can be found in Rikkac Doc.

Deploy

Want deploy Rikka system of you own? Check Rikka Deploy Doc for deploy guide.

Contribution

  • Fork me
  • Create a new branch from dev branch
  • Add your code, comment, document and meaningful commit message
  • Add yourself to CONTRIBUTION.md and describe your work
  • PR to dev branch

Thanks all contributors!

You can see a list of contributors in CONTRIBUTIONS.md.

Acknowledgements

  • Thanks Golang and her developers
  • Thanks Visual Studio Code and her developers
  • Thanks open source

License

All code of Rikka system are open source, based on MIT license.

See LICENSE.

rikka's People

Contributors

7sdream avatar choleraehyq avatar xcodebuild avatar ilumer 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.