PHP CSS JavaScript HTML ApacheConf Smarty
Permalink
Failed to load latest commit information.
Minnie run code through formatter Nov 1, 2015
android Unit tests & formatter stuff Feb 11, 2016
chrome-extension run code through formatter Nov 1, 2015
chrome-push HTML5 push notifications May 16, 2015
flags Initial public commit Dec 16, 2014
img Initial public commit Dec 16, 2014
includes More digits on the statistics page Sep 5, 2016
javascript Adjust the way selectable table renders checkboxes Sep 4, 2016
macro run code through formatter Nov 1, 2015
modgraphs Unit tests & formatter stuff Feb 11, 2016
movienight Initial public commit Dec 16, 2014
paypal Unit tests & formatter stuff Feb 11, 2016
pqp run code through formatter Nov 1, 2015
rabbitmq run code through formatter Nov 1, 2015
shorturl Unit tests & formatter stuff Feb 11, 2016
style Merge branch 'codebox-scrolling' of https://github.com/mpsmc/Minichan Sep 18, 2016
test Unit tests & formatter stuff Feb 11, 2016
tests Unit tests & formatter stuff Feb 11, 2016
thumbs Initial public commit Dec 16, 2014
.babelrc Begin using webpack Sep 3, 2016
.gitignore Begin using webpack Sep 3, 2016
.htaccess Better mod options Jun 6, 2015
.php_cs Unit tests & formatter stuff Feb 11, 2016
LICENSE Make it explicit the MIT license is used Sep 11, 2016
README.md Update README.md Sep 5, 2016
action.php run code through formatter Nov 1, 2015
apple-touch-icon-114x114-precomposed.png Initial public commit Dec 16, 2014
apple-touch-icon-57x57-precomposed.png Initial public commit Dec 16, 2014
apple-touch-icon-72x72-precomposed.png Initial public commit Dec 16, 2014
back_up_id.php run code through formatter Nov 1, 2015
bans.php run code through formatter Nov 1, 2015
bulletins.php run code through formatter Nov 1, 2015
bulletins_mod.php run code through formatter Nov 1, 2015
bulletins_new.php run code through formatter Nov 1, 2015
cms.php run code through formatter Nov 1, 2015
cms_edit.php run code through formatter Nov 1, 2015
composer.json Integrate stopforumspam.com Oct 2, 2015
composer.lock Integrate stopforumspam.com Oct 2, 2015
copy.php run code through formatter Nov 1, 2015
dashboard.php run code through formatter Nov 1, 2015
date_and_time.php run code through formatter Nov 1, 2015
debug.txt Initial public commit Dec 16, 2014
debug_proxy.php run code through formatter Nov 1, 2015
defcon.php run code through formatter Nov 1, 2015
deleted_topics.php kittens and sunshine Jan 5, 2016
drop_id.php run code through formatter Nov 1, 2015
edit_ignore_list.php run code through formatter Nov 1, 2015
events.php Use imagick to resize jpg/png Nov 1, 2015
events_mod.php run code through formatter Nov 1, 2015
events_new.php run code through formatter Nov 1, 2015
experiment.html Initial public commit Dec 16, 2014
exterminate.php run code through formatter Nov 1, 2015
failed_postings.php run code through formatter Nov 1, 2015
favicon.gif Initial public commit Dec 16, 2014
folks.php run code through formatter Nov 1, 2015
gen_pass.php run code through formatter Nov 1, 2015
geofag.php Initial public commit Dec 16, 2014
gh-push.php run code through formatter Nov 1, 2015
hello.html Initial public commit Dec 16, 2014
history.php run code through formatter Nov 1, 2015
hot_topics.php run code through formatter Nov 1, 2015
hurr.php run code through formatter Nov 1, 2015
index.php run code through formatter Nov 1, 2015
init.sql Reset AUTO_INCREMENT to 0 in init.sql Dec 16, 2014
ip_address.php run code through formatter Nov 1, 2015
lockdown.html Initial public commit Dec 16, 2014
markup_syntax.php run code through formatter Nov 1, 2015
modlog.php run code through formatter Nov 1, 2015
notepad.php run code through formatter Nov 1, 2015
notifications.php run code through formatter Nov 1, 2015
package.json Add missing dependencies Sep 3, 2016
password.php run code through formatter Nov 1, 2015
permissions.php run code through formatter Nov 1, 2015
plugins.php run code through formatter Nov 1, 2015
pm.php run code through formatter Nov 1, 2015
pm_compose.php run code through formatter Nov 1, 2015
pm_delete.php run code through formatter Nov 1, 2015
pm_inbox.php run code through formatter Nov 1, 2015
post.php Begin using webpack Sep 3, 2016
prepare-commit change prepare-commit order Feb 11, 2016
profile.php run code through formatter Nov 1, 2015
purge_images.php run code through formatter Nov 1, 2015
push-service-worker.js HTML5 push notifications May 16, 2015
push.php Fix chrome html5 push notifications Sep 4, 2016
recover_id_by_email.php Don't leak registered email addresses in recover_id_by_email Sep 4, 2016
replies.php run code through formatter Nov 1, 2015
report.php run code through formatter Nov 1, 2015
reports.php run code through formatter Nov 1, 2015
requestform.pdf Initial public commit Dec 16, 2014
restore_id.php run code through formatter Nov 1, 2015
rewrite.conf Better mod options Jun 6, 2015
robots.txt Initial public commit Dec 16, 2014
search.php run code through formatter Nov 1, 2015
search2.php run code through formatter Nov 1, 2015
searches.php run code through formatter Nov 1, 2015
session.php run code through formatter Nov 1, 2015
show_report.php run code through formatter Nov 1, 2015
shuffle.php Fix shuffle Dec 15, 2015
stalk.php run code through formatter Nov 1, 2015
statistics.php Add statistic for anonymous post count Jun 14, 2016
stuff.php run code through formatter Nov 1, 2015
tag.php run code through formatter Nov 1, 2015
tar.php run code through formatter Nov 1, 2015
test_ban.php run code through formatter Nov 1, 2015
topic.php Disallow visitors without UID to increment view count of topic Jul 17, 2016
topic_trivia.php run code through formatter Nov 1, 2015
trash_can.php run code through formatter Nov 1, 2015
triptest.php run code through formatter Nov 1, 2015
unlock.php run code through formatter Nov 1, 2015
url_handler.php run code through formatter Nov 1, 2015
watch.php run code through formatter Nov 1, 2015
watchlist.php Adjust the way selectable table renders checkboxes Sep 4, 2016
webpack.config.js Begin using webpack Sep 3, 2016

README.md

Installation

  • Install dependencies with composer using composer install
  • Install client-side dependencies with npm using npm install
  • Install webpack npm install -g webpack
  • Make an empty MySQL database.
  • Copy includes/config.example.php to includes/config.php and get editing.
  • Run php includes/upgrade.php from the command line.
  • Run webpack -d --watch
  • Enable the apache2 rewrite module: a2enmod rewrite
  • Optional: Edit .htaccess

On a fresh Ubuntu/Debian installation you will likely want apt-get install apache2 libapache2-mod-php php php-curl php-mysql php-apcu mysql-server mysql-client and configure your php.ini as follows:

display_errors = On
display_startup_errors = On
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE

Depending on your setup it may also be necessary to configure your php.ini to use UTF-8 internally so exotic tripcodes get converted correctly:

[mbstring]
mbstring.internal_encoding = UTF-8

It is also possible to use nginx, and a sample rewrite.conf is available, but this is currently not officially supported.

When deploying to production use webpack -p.

Updating

Update your working tree and run php includes/upgrade.php. See the wiki for scripts used by http://minichan.org

"Support"

If you have any questions you can try your luck on the issue tracker or ##minichan @ irc.freenode.net. Note that development is primarily geared towards running a functional http://minichan.org so your feature requests may not be a priority. Pull requests are welcome if they are discussed on the issue tracker or IRC (with r04r) first.

And yes. The code is shit. :-)

Branches

This repository consists of four primary branches, of which all but master may have their histories rewritten at any time:

  • master: The main development branch. The code on this branch should work, but may not be fully functional or stable when development is happening. If you intend to submit pull requests base them off of this branch.
  • testing: http://test.minichan.org - For testing new changes in a staging setup
  • beta: http://beta.minichan.org - For testing new changes in a staging setup, with a shared database with http://minichan.org. Database changes will not be tested here.
  • minichan: http://minichan.org