Skip to content

danilp-id/bbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bbs

A simple online forum written in Prolog. Try it out now at bbs.soclearn.org

For now it only allows creating threads and replies to the threads.

Contributions are welcome!

Quick roadmap

  • Finish tag support
  • Enable file uploads
  • Moderation support

Running you own instance

Simplest way is to use docker, just run docker compose up.

Then init the database with:

psql -U postgres -h localhost -c 'CREATE DATABASE bbs;'
psql -U postgres -h localhost -d bbs -f migrations/init_db.sql

Without docker, setup postgres (you can launch just the postgres in docker with docker compose up db), and then open scryer-prolog and run:

?- [server].
?- run.

Make sure you use the latest Scryer prolog from git because latest stable release (v0.10.0 at the time of writing) has a bug that prevents builtin http server from working correctly.

Acknowledgements

Special thanks goes to Adrián Arroyo for developing postgresql-prolog and teruel and to Scryer Prolog developers without whom this project would not be possible.

About

A simple online forum written in Prolog

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors