Original repo from git.rip, which has since been compromised by the U.S. government. It's free real esta- software! "archived version of the gab source code from before they pulled the public repo" Distributed under AGPL: Anti-Gab Public License
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Mentally Ill t Criminal Demon 6c8e93b384 Merge march-2021 archive from "gab-open-source", commit fd739774f4. 7 months ago
.circleci Commiting 10 months ago
.dependabot Gab Social. All are welcome. 2 years ago
.github change all GitHub links to Gab's GitLab at code.gab.com 2 years ago
.gitlab Add new file 1 year ago
app Merge march-2021 archive from "gab-open-source", commit fd739774f42b2a37398230d0a01a16e296d8758c. 7 months ago
bin Upgrade to Rails 6 8 months ago
config Merge march-2021 archive from "gab-open-source", commit fd739774f42b2a37398230d0a01a16e296d8758c. 7 months ago
db Added new spam_flag to Accounts, replacing is_flagged_as_spam 7 months ago
dist Gab Social. All are welcome. 2 years ago
docs Merge march-2021 archive from "gab-open-source", commit fd739774f42b2a37398230d0a01a16e296d8758c. 7 months ago
lib Convert to boolean in C code 7 months ago
log Gab Social. All are welcome. 2 years ago
nanobox Gab Social. All are welcome. 2 years ago
public Merge march-2021 archive from "gab-open-source", commit fd739774f42b2a37398230d0a01a16e296d8758c. 7 months ago
streaming [streaming] disable chat endpoints. 8 months ago
vendor Gab Social. All are welcome. 2 years ago
.buildpacks Gab Social. All are welcome. 2 years ago
.codeclimate.yml Gab Social. All are welcome. 2 years ago
.dockerignore Gab Social. All are welcome. 2 years ago
.editorconfig Gab Social. All are welcome. 2 years ago
.env.nanobox Added captcha for sign up form 8 months ago
.env.production.sample Added captcha for sign up form 8 months ago
.env.test Gab Social. All are welcome. 2 years ago
.env.vagrant Prevent constant ElasticAPM warnings in development by disabling it 7 months ago
.eslintignore Gab Social. All are welcome. 2 years ago
.eslintrc.js Commiting 10 months ago
.foreman Gab Social. All are welcome. 2 years ago
.gitattributes Gab Social. All are welcome. 2 years ago
.gitignore Ignore Vagrant .log files 2 years ago
.haml-lint.yml Gab Social. All are welcome. 2 years ago
.jshintrc Gab Social. All are welcome. 2 years ago
.nanoignore Gab Social. All are welcome. 2 years ago
.nvmrc Gab Social. All are welcome. 2 years ago
.profile Gab Social. All are welcome. 2 years ago
.rspec Gab Social. All are welcome. 2 years ago
.rubocop.yml Gab Social. All are welcome. 2 years ago
.ruby-version Update .ruby-version 9 months ago
.scss-lint.yml Gab Social. All are welcome. 2 years ago
.slugignore Gab Social. All are welcome. 2 years ago
.yarnclean Gab Social. All are welcome. 2 years ago
AUTHORS.md Merge march-2021 archive from "gab-open-source", commit fd739774f42b2a37398230d0a01a16e296d8758c. 7 months ago
Aptfile Gab Social. All are welcome. 2 years ago
CONTRIBUTING.md Merge march-2021 archive from "gab-open-source", commit fd739774f42b2a37398230d0a01a16e296d8758c. 7 months ago
Capfile Gab Social. All are welcome. 2 years ago
Dockerfile vim added to Docker build 2 years ago
Gemfile Added similar_text gem 7 months ago
Gemfile.lock Added similar_text gem 7 months ago
LICENSE Gab Social. All are welcome. 2 years ago
Procfile Gab Social. All are welcome. 2 years ago
Procfile.dev Gab Social. All are welcome. 2 years ago
README.md Merge march-2021 archive from "gab-open-source", commit fd739774f42b2a37398230d0a01a16e296d8758c. 7 months ago
Rakefile Gab Social. All are welcome. 2 years ago
Vagrantfile Start redis server on VM boot 7 months ago
app.json change all GitHub links to Gab's GitLab at code.gab.com 2 years ago
babel.config.js Progress 1 year ago
boxfile.yml Gab Social. All are welcome. 2 years ago
config.ru Gab Social. All are welcome. 2 years ago
docker-compose.yml docker-compose updates 2 years ago
gs-deploy-develop Gab Social. All are welcome. 2 years ago
gs-export Gab Social. All are welcome. 2 years ago
gs-logtail Gab Social. All are welcome. 2 years ago
package.json Merge march-2021 archive from "gab-open-source", commit fd739774f42b2a37398230d0a01a16e296d8758c. 7 months ago
postcss.config.js Gab Social. All are welcome. 2 years ago
priv-config Gab Social. All are welcome. 2 years ago
scalingo.json Merge march-2021 archive from "gab-open-source", commit fd739774f42b2a37398230d0a01a16e296d8758c. 7 months ago
yarn.lock Updated websocket.js to @gamestdio/websocket 8 months ago

README.md

Gab Social

Gab Social is an open source and fully decentralized social network powered by the Gab Platform. It is the new social network of Gab.com. This change was made to further Gab's committment to it's users trust and privacy online. And, by offering decentralization and federation, Gab further demonstrates a lack of interest in the ownership of your data.

The Gab Social project is based on the Mastodon project, and is licensed under the terms and conditions of AGPL-3.0. While we will be keeping this license, over time we will be keeping less and less of the original project's source code and approach.

Our goal is to establish the foundation of a federated network of social networks. Our first step is our move to this technology, which immediately enables the construction of that network and provides the tools people will need to create and build. Over time, a new implementation of this system will emerge that is entirely based on Node.js, moves away from Postgres as it's database, and becomes part of the HYDRA family.

Project goals

We have diverged from Mastodon in several ways in pursuit of our own goals.

  1. Node.js has been updated to 10.15.3LTS for hosting the Streaming API in compliance with the Gab Platform.
  2. Statuses were renamed from 'toots' to 'gabs'
  3. The maximum length of a status was increased to 3,000 characters
  4. The browser client user experience has been significantly altered to match what users of Gab will expect
  5. Features were added to integrate the system with the Gab platform (accessing trends from Dissenter, for example)
  6. Groups and group moderation
  7. Quote posting

BTCPay

In order to make BTC flow work, 3 environment variables need to be set:

Deployment

Tech stack:

  • Ruby on Rails powers the REST API and other web pages
  • React.js and Redux are used for the dynamic parts of the interface
  • Node.js powers the streaming API

Requirements:

  • PostgreSQL 9.5+
  • Redis
  • Ruby 2.4+
  • Node.js 8+

The repository includes deployment configurations for Docker and docker-compose, but also a few specific platforms like Heroku, Scalingo, and Nanobox.

A stand-alone installation guide will be provided as soon as possible.

Local development

To get started developing on Gab, you will need to run a version of it locally. The following instructions assume you are already familiar with using a terminal program.

  1. Install Vagrant and VirtualBox if you haven't already.
  2. Clone this repository
  3. Change into the project directory with cd gab-social
  4. Run vagrant up to provision the virtual machine. This will take a while.
  5. Finally, run vagrant ssh -c "cd /vagrant && foreman start" to start the local web server.
  6. Visit http://0.0.0.0:3000 in your web browser to see Gab's splash screen. If it doesn't load, or styling is missing, wait another minute and refresh the page.
  7. Log in with the username admin and password administrator
  8. Have fun developing on Gab!

License

Copyright (C) 2019 Gab AI, Inc., and other contributors (see AUTHORS.md, forked)

Copyright (C) 2016-2019 Eugen Rochko & other Gab Social contributors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.