💡Inspiration💡

Social networks are increasingly becoming a space for disinformation, social manipulation, promotion of malpractice and much more.

And this has become the standard, where the likes of a photo on instagram depends on how well the person knows how to edit, or how attractive a publication looks, which encourages young people to fall into things like anorexia, mental complexes, etc.

That's why I created TrueSocial, a social network that is based on who you are and how you feel.

🤖What it does🤖

The application allows you to register with your DeSo Seed account or google account, when you authenticate it allows you to view all posts, add new ones through a form, upload images to our CDN and automatically make sentimental analysis of the images.

Thus having a real social network where people can connect and publish as they feel, verified on the blockchain.

🧑🏻‍💻How I built it🧑🏻‍💻

Initially the app was going to be simple, a Vite project, with a server in express, having a database and adding the posts.

But as one of the challenges was to make the application more complex unnecessarily, so I changed a bit how I built it and it ended up being this:

My app is a docker based monorepo with a python backend, where I use FastAPI, Tensorflow, cv2, numpy among others to make an artificial intelligence system with sentiment recognition based on a microservice.

For the frontend I used Next.js and Mantine to build a beautiful UI, I also used DeSo for the blockchain part with different custom utilities to interact with its API, which easily allows us to perform functions like authentication, transaction creation, etc. Besides that I use services like UploadCare as CDN for the images.

All this hosted on a Rapsberry Pi with Docker.

Rapsberry Pi

How I use DeSo

I used DeSo to do the authentication, and deso.js to do different functions to easily manage all the functions of DeSo like doing Log In, publishing NFTs, getting the NFTs from a public key, etc.

In the application part I used it to manage the users and make posts that will work in the form of NFTs that will be attached to the wallet of the user creator and thus be able to track who published it.

❗Challenges I ran into❗

The most difficult and time consuming part was the DeSo integration part as I had no previous experience, also with the AI part as I had never done one before but I am happy that I was finally able to complete it all successfully.

✅Accomplishments that I'm proud of✅

I feel proud to be able to finish this alone from the code to the demo and devpost, since I usually have a team with other people like my friend Sebastian who help me a lot, and that's why I feel happy to do this alone and that it will work perfectly.

🏫What I learned🏫

  • Docker
  • Linux deployment via SSH
  • AIaaS in Python using microservices
  • Web3 development with DeSo
  • CDN for images managment

⏭️What's next for TrueSocial⏭️

I want it to be a basis for future projects that take the ideas of making social networks safer, less toxic and decentralized, that promote people to express themselves as they really feel and we can counteract the effects of traditional social networks.

Thanks for reading!

Built With

Share this project:

Updates