Skip to content

avdvh/SprechX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SprechX

SprechX is a decentralized social media platform built on blockchain technology to champion free expression and user autonomy, directly addressing the censorship and data control issues of centralized platforms. By integrating with DeFi mechanisms, it allows users to authenticate securely with their digital wallets, ensuring privacy and complete ownership over their immutable, on-chain content. While technologically robust, SprechX provides a familiar and intuitive user experience with features like multimedia posts, profiles, and community engagement tools. The platform is designed to foster a transparent, censorship-resistant environment for open discourse, challenging the traditional social media model by placing power and content control firmly back into the hands of the users.

🔧 Setup

1️⃣ Backend (Python + Flask)

To Create Python Environment and Install Dependencies run following commands in Backend directory

python -m venv venv # Create a virtual environment

source venv/bin/activate Activate the environment (Linux/macOS)

venv\Scripts\activate # Activate the environment (Windows)

pip install -r requirements.txt # Install dependencies

Create a DeSo Account

Go to deso website and create an account.

Complete your profile using update-profile.

To Set Up Secure Storage for Sensitive Data run following commands in Backend directory

mkdir secure # Create a secure directory

cd secure

echo > key_seed.db # Create an empty key_seed.db file

Create a .env File in secure/

Create a .env file inside the secure folder with the following content:

DESO_SEED_PHRASE_OR_HEX="" # Paste your DeSo seed phrase here

DESO_NODE_URL="https://test.deso.org"

TESTNET=True

DESO_PASSPHRASE=""

DESO_INDEX="0"

ENCRYPTION_KEY=""

Generate an Encryption Key

Use the cryptography library (already installed with requirements.txt) to generate an encryption key:

from cryptography.fernet import Fernet

key = Fernet.generate_key()

print(key.decode()) # Copy and paste this into ENCRYPTION_KEY in .env

To start the Backend run following in Backend directory

python app.py

2️⃣ Frontend (React + TypeScript)

To Install Dependencies run following command in frontend directory

npm install

To start the Frontend run following in Frontend directory

npm start

About

A decentralised social media platform empowering users with full data control, censorship resistance, and transparent public discourse.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors