Nathn / Squakr

A Twitter-inspired app to let people share thoughts without ads and data-selling.

Home Page:http://squakr.tranchant.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Squakr

A new social network designed to be easy to use, save no data and let the user be in control of what he sees in his news feed.
Originally forked from TamalAnwar/twitter-clone-new.

➡️ http://squakr.tranchant.tech/

Features

  • Account system with crypted passwords
  • Email verification system (only email-verified users can reach the home page of visitors)
  • Microblogging system with image and video uploads support
  • Hashtags and user mentions support
  • Likes and replies
  • Follow system and custom timeline
  • Search function among users and squaks
  • Notifications on follows, likes, replies and mentions
  • Verification badge
  • Moderators who can delete squaks and verify users
  • Report system that sends a notification to all moderators
  • Appearance settings (dark theme, developper mode, etc)
  • Open API (read-only)
  • English and French supported (other languages coming soon)

Screenshots

Homepage
Homepage


Homepage
Homepage (dark theme)


Search
Search results page


Profile
User Profile


Build your own Squakr

You can easily build and host your own version of Squakr to give your community a safe space to talk.
Here's how :

  1. Make sure you have Git and NPM installed.
  2. Clone this repository locally with git clone https://github.com/Nathn/Squakr.
  3. Inside the folder, create a variables.env file and add the required envirronnement variables.
  4. Execute npm install to install the dependencies.
  5. Execute npm start to start the server.
  6. Open you browser and point it to http://localhost:3000/ (you can change the port with the environnement variable PORT)
  7. Happy Coding !

Environnement Variables

You have to declare these variables in a variables.env file inside of your root folder in order to make your Squakr installation work correctly with the 5 required variables, and to personnalize it with the other ones. If you are not familiar with the env syntax, you can use the file variables.env.example as a model.
You will have to create a (free) account on https://cloudinary.com/ to host image and video uploads. No CB needed and you will only be limited when you reach 1 GB per month.

  • DATABASE : The URL of the MongoDB database you want to use. On local, if you have MongoDB installed on your machine, it will be mongodb://localhost/squakr.
  • SECRET : A secret string that will be use by Express to configure sessions. Make it as secure as possible.
  • CLOUD_NAME : Your Cloudinary cloud name (you can find these informations on the top of the Cloudinary dashboard).
  • CLOUD_API_KEY : Your Cloudinary API Key (you can find these informations on the top of the Cloudinary dashboard).
  • CLOUD_API_SECRET : Your Cloudinary API Secret (you can find these informations on the top of the Cloudinary dashboard). Do not share it !
  • APP_NAME (optional) : The name of the app, displayed in various places. Default is Squakr.
  • APP_URL (optional) : The URL (without HTTP and WWW) of the app, displayed on some places. Default is Squakr.fr.
  • APP_HEADER (optional) : The title displayed on the header of all pages. Default is Squakr.fr.
  • PORT (optional) : The localhost port you want the app to run on. Change it if you have already something running on port 3000.
  • TOKEN (optional) : If you want to have a Discord Bot that sends a message in a channel when an user joins your Squakr, paste its token here.
  • CHANNEL_ID (optional) : The Discord channel ID the bot will sends the message in.
  • EMAIL_USER (optional) : The email adress confirmation mails will come from.
  • EMAIL_HOST (optional) : The outgoing mail server of the email (often something like smtp.example.com).
  • EMAIL_PASS (optional) : The password of the email.
  • DEFAULT_FOLLOW_FR_1 (optional) : The ID of the account to which new users who have selected French as their language will be following by default. You can get IDs directy from the app by turning on the developer mode in the settings, go to the wanted profile and click Copy ID.
  • DEFAULT_FOLLOW_FR_2 (optional) : The ID of a second account to which new users who have selected French as their language will be following by default. To add more, you have to edit the file controllers/userController.js (line ~580)
  • DEFAULT_FOLLOW_EN_1 (optional) : The ID of the account to which new users who have selected English as their language will be following by default.
  • DEFAULT_FOLLOW_EN_2 (optional) : The ID of a second account to which new users who have selected English as their language will be following by default. To add more, you have to edit the file controllers/userController.js (line ~620)

About

A Twitter-inspired app to let people share thoughts without ads and data-selling.

http://squakr.tranchant.tech

License:MIT License


Languages

Language:JavaScript 82.3%Language:CSS 17.7%