The SNS by Shell Script and SQLite3

HIROSE Yuuji authored on 5 Dec
docs 2019-0410 FD distributed version 10 months ago
examples Add "enquete" mode 2 months ago
img add img/key.png 10 months ago
scripts Add script for fixing tblaccesses table schema 8 months ago
.hgignore .hgignore added 4 years ago Convert to UTF-8 1 year ago
default.css add default.css as symlink 4 years ago
index.html add default.css as symlink 4 years ago Clear taint flag 4 years ago
mpsplit.rb periodic 4 years ago
pwrap.c Add wrapper creation process 10 months ago TEST: show all articles to everyone in enquete mode 2 months ago Allow spaces and special characters in filenames(tentative). 3 years ago Add "enquete" mode 2 months ago Foreign key restriction fixed 7 months ago
s4-main.js Redirection also inserted by #XXX anchors 6 months ago Default password rule fixed 10 months ago
s4.cgi.m4 Forget s4.cgi 10 months ago Eliminate filename for "file" command befause of spaces in filenames. 3 years ago


SNS by Shell Script and SQLite3

S4 is an SNS(Social Networking System) constructed with Bourne Shell and SQLite3. Main purpose of S4 is to build prototyping system for assessment of the first introduction of some information system.


  • 本体 < 500KB
  • コード < 10k lines
  • 招待制SNS
  • 個人によるブログ作成
  • グループ作成
  • グループ内の掲示板作成
  • レポート提出(集計)機能つき掲示板
  • 新着表示
  • 全文検索

How to Get

You can obtain s4 via Mercurial repository as below.

hg clone

Join to S4

設置サンプル S4square へどうぞ。 招待メイルを出します(捨てアドレス可)。 にあるアドレスまで連絡ください。