Skip to content

francisbergin/fakesocial

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

fakesocial

Fake social network using generated content.

See https://francisbergin.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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published