Skip to content

ProjectMerge/safe-ordinals-gallery

Repository files navigation

Safe ordinals gallery: Creating An Enjoyable Experience

License: AGPL About TEAM GitHub Discussions Twitter Telegram Discord Corporate Sponsor

Safe ordinals gallery is an AI-Powered App for images inscribed on the Decentralized Bitcoin blockchain. Ordinals protocol enable users to send and receive Satoshis (smallest monetary unit of a Bitcoin) that encapusulate data to them. This data can be in the form of text, images, audio etc.

Description

Ordinals best features are immutability and censorship resistance. Unfortunately not all images are safe for the work place or third party platform. Only days after the launch of the Bitcoin based Ordinals protocol, its creator had to deal with their first shock pornographic image, which has been inscribed into the blockchain. Safe ordinals gallery aims to automate the process of eliminating the following materials.

  • porn - pornography images
  • hentai - hentai images, but also includes pornographic drawings
  • sexy - sexually explicit images, but not pornography. Think nude photos, playboy, bikini, etc.
  • drawings - safe for work drawings (including anime)
  • words - optical character recognition(OCR) of words safe to use at work
    • obscenity, profanity, & vulgar speech

To get a first impression, you are welcome to play with our public demo.

Prerequisites

  • Docker
$ mkdir -p $HOME/myData
...or if you are on Windows, edit docker-compose.yml and replace $HOME/myData with /c/myData

Getting Started

Running it locally

$ git clone https://github.com/ProjectMerge/safe-ordinals-gallery.git ord_gallery
$ cd ord_gallery
$ docker-compose up -d

Running it on the web

$ git clone https://github.com/ProjectMerge/safe-ordinals-gallery.git ord_gallery
$ cd ord_gallery
$ Edit ./Caddyfile and replace "domain.com" with your domain name
$ docker-compose -f docker-compose-net.yml up -d

Update current build

$ git pull
$ docker-compose rm -s -v (-f docker-compose-net.yml)
$ docker-compose up -d --build (-f docker-compose-net.yml)

Support Our Mission 💎

Team RocketBot is 100% self-funded and independent. Your continued support helps us provide more features to the public, release regular updates, and remain independent!

  • GitHub Sponsors is priced in USD and also offers one-time donations
  • Patreon is priced in Euro and also offers yearly payments
  • Stripe will be available this year, so you can sign up directly in the app

You are welcome to contact us for change requests, membership questions, and business partnerships.

Credits

Code by: M1chlCZ

Model, snippets of logic: https://github.com/photoprism/photoprism

Tensorflow-GO: https://github.com/galeone/tfgo

OCR: https://github.com/otiai10/gosseract