Skip to content

schoolofdevops/facebooc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebooc

Proof-of-concept Facebook clone in C. The only dependency is SQLite3.

Prerequisites

OS: Ubuntu

Install following package:

  • build-essential
  • make
  • libsqlite3-dev
  • sqlite3
sudo apt-get update
sudo apt-get install -yq build-essential make libsqlite3-dev sqlite3

Note: When you launch a container using ubuntu image from the repository, it may not have sudoers installed. Also, you would be a root user inside the container. In such case, remove sudo and execute rest of the command.

Build

Using git, clone the repository with the URL above. Repository contains the source files written in C, along with a Makefile with targets such as "all", "run". Destination path should be /opt/facebooc. Run the following command to compile the source code.make all

cd facebooc
make all

Run

Launch app as bin/facebooc This will attach to port 16000

cd facebooc
bin/facebooc

Licensing

Facebooc is freely redistributable under the two-clause BSD License. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

About

Yet another Facebook clone written in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 77.2%
  • CSS 11.5%
  • HTML 8.7%
  • C++ 1.5%
  • Makefile 1.1%