All Projects → CovenantSQL → Covenantforum

CovenantSQL / Covenantforum

Licence: mit
CovenantForum is a simple Decentralized forum powered by CovenantSQL.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Covenantforum

Nkn Client Js
[Deprecated, use nkn-sdk-js instead] JavaScript implementation of NKN client
Stars: ✭ 53 (-48.04%)
Mutual labels:  blockchain, p2p
Waykichain
Public Blockchain as a Decentralized Finance Infrastructure Service Platform
Stars: ✭ 1,117 (+995.1%)
Mutual labels:  blockchain, p2p
Chainode
Fast, Highly Scalable, and Lightweight Private Blockchain Network based on node.js
Stars: ✭ 55 (-46.08%)
Mutual labels:  blockchain, p2p
Enigma P2p
The Enigma Worker Peer-to-Peer (P2P) package written in Node.js based on libp2p-js
Stars: ✭ 31 (-69.61%)
Mutual labels:  blockchain, p2p
Clutter
Fully distributed twitter built on holochain
Stars: ✭ 84 (-17.65%)
Mutual labels:  blockchain, p2p
Dawn
global hosting, financial automation, server-less web components
Stars: ✭ 40 (-60.78%)
Mutual labels:  blockchain, p2p
Bitcoin.org
Bitcoin.org Website
Stars: ✭ 1,090 (+968.63%)
Mutual labels:  blockchain, p2p
Ebookcoin
Ebookcoin has been updated to DDN Blockchain,please get it from https://github.com/ddnlink/ddn
Stars: ✭ 789 (+673.53%)
Mutual labels:  blockchain, p2p
Blockchain golang
Blockchain demo based on golang 基于golang编写的区块链公链demo
Stars: ✭ 80 (-21.57%)
Mutual labels:  blockchain, p2p
Conceal Core
Conceal Core - Daemon & Wallets (CLI)
Stars: ✭ 72 (-29.41%)
Mutual labels:  blockchain, p2p
Go Ethereum
Official Go implementation of the Ethereum protocol
Stars: ✭ 34,169 (+33399.02%)
Mutual labels:  blockchain, p2p
Node Webdollar
WebDollar Protocol - Currency of the Internet
Stars: ✭ 89 (-12.75%)
Mutual labels:  blockchain, p2p
Lnbook
Mastering the Lightning Network (LN)
Stars: ✭ 931 (+812.75%)
Mutual labels:  blockchain, p2p
Exonum
An extensible open-source framework for creating private/permissioned blockchain applications
Stars: ✭ 1,037 (+916.67%)
Mutual labels:  blockchain, p2p
Filenation
The simplest way to send your files around the world using IPFS. ✏️ 🗃
Stars: ✭ 805 (+689.22%)
Mutual labels:  blockchain, p2p
Ipfsfb
InterPlanetary File System for Business (IPFSfB) is an enterprise blockchain storage network based on InterPlanetary File System.
Stars: ✭ 57 (-44.12%)
Mutual labels:  blockchain, p2p
Ocsystem
🚀ONLYCHAIN blockchain underlying system-OCSystem
Stars: ✭ 713 (+599.02%)
Mutual labels:  blockchain, p2p
Lbry Sdk
The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps.
Stars: ✭ 7,169 (+6928.43%)
Mutual labels:  blockchain, p2p
Covenantsql
A decentralized, trusted, high performance, SQL database with blockchain features
Stars: ✭ 1,148 (+1025.49%)
Mutual labels:  blockchain, p2p
Awesome Privacy On Blockchains
A curated list of privacy on blockchains resources
Stars: ✭ 86 (-15.69%)
Mutual labels:  blockchain, p2p

CovenantForum is a simple decentralized forum web app powered by CovenantSQL.

Decentralized forum?

  • Data and files are saved in decentralized database. Anyone with a permission granted private key and the DSN(Database Serial Num) can serve the forum anywhere.
  • Also, all posts related data are saved on an unique SQLChain Block like this.
  • Anyone can create your "blockchain powered forum" with just few steps.

Twitter Bot

  • @iBlockPin will record your tweet to CovenantForum and the Blockchain.

Features

  • Static files and database are powered by decentralized database: CovenantSQL.
  • REST API backend written in Go
  • Vue.js-based frontend
  • Social login (OAuth 2.0) via three providers:
    • Google
    • Facebook
    • Github
  • JSON Web Tokens (JWT) are used for user authentication in the API
  • Single binary deploy. All the static assets (frontend JavaScript & CSS files) are embedded into the binary
  • Markdown comments
  • Avatar upload, including animated GIFs. Auto-generated letter-avatars on user creation

Arch

Comparison between Traditional and Decentralized forum:

Demo

Demo forum

Quick Start

Just one command to start a mirror of Demo forum

$ go get -u github.com/CovenantSQL/CovenantForum/cmd/forum && \
    cd $GOPATH/src/github.com/CovenantSQL/CovenantForum/cmd/forum && \
    $GOPATH/bin/forum start

Create your new Forum

  • Generate a CovenantSQL config and keypair.

  • Get PTC by replying to the topic with your wallet address.

  • Create a new empty CovenantSQL database with cql.

  • Obtain OAuth 2.0 credentials (client_id and secret) from at least one of the providers (Google, Facebook, Github) so users can log into the web application. The OAuth callback url will be <base_url>/oauth/end/<provider>. The <base_url> is where the forum web app will be mounted on your site and the <provider> is the lowercase provider name. For example, if base_url is https://my.website.com/forum/, then the oauth callback url for google will be https://my.website.com/forum/oauth/end/google.

  • Download and compile the forum binary:

    $ go get -u github.com/CovenantSQL/CovenantForum/cmd/forum
    
  • Inside an empty directory run:

    $ forum init
    

    This will generate an initial configuration file "forum.conf" inside the current dir. Edit the configuration file to set the server listen address, the base url, the database and file storage parameters, OAuth credentials, etc.

  • Fill in file_storage and store in the forum.conf:

    file_storage {
      type = "covenant_s3"
      covenant_s3 {
        database  = "covenantsql://e08d944b4ebd69e12aa69..."
        config    = "config.yaml"
        masterkey = ""
      }
    }
    
    store {
      type = "covenantsql"
      covenantsql {
        database  = "covenantsql://e08d944b4ebd69e12aa69..."
        config    = "config.yaml"
        masterkey = ""
      }
    }
    
  • Run the following command to start the forum web server.

    $ forum start
    
  • Sign in into your web application using one of the social login providers. Then run the following command to grant admin privileges to your user.

    $ forum add-admin <your-username>
    

Screenshots

Topics

Topics

Comments on blockchain

Comments

Todo

  • Make creating new forum easier.
  • Grant low permission on forum database.
  • We are working on CovenantSQL.

License

  • CovenantForum is derived from a simple traditional forum disintegration/bebop, but CovenantForum has a totally different purpose. So, we just create a new project.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].