berfr / fakesocial

Fake social network using generated content

Home Page:https://fakesocial.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fakesocial

Fake social network using generated content.

See https://berfr.github.io/posts/fakesocial for more info.

Setup

# Setup virtual environment and install dependencies
python -m venv venv && . venv/bin/activate
pip install -r requirements.txt

# Generated site located under `site/` directory by default
python -m fakesocial
python -m http.server -d site
open http://localhost:8000/

Content sources

Content generators

Configuration

These options can be set in a JSON file and specified with the --config-file FILENAME argument or can be passed using the --config key1=value1 key2=value2 argument.

key name description
db_file Specify which database file to use. This is useful to save current state. If file contains data, fakesocial will continue where is left off.
number_of_events The total number of events to create.
output_dir Which directory to place generated website.
start_date The date where events start off. Ex: 2010-01-25.

About

Fake social network using generated content

https://fakesocial.net

License:MIT License


Languages

Language:Python 59.8%Language:JavaScript 29.7%Language:HTML 8.4%Language:Makefile 1.3%Language:CSS 0.8%