Chat logs searcher, to be used with https://github.com/TheHowl/node-irc-logger. Not maintained.
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
public
routes
views
.gitignore
LICENSE
README.md
apidocs.md
app.js
config.sample.js
package.json
schema.sql

README.md

osuchatsearch

An API and a frontend interface that lets you retrieve data from a message database. This is aimed specifically for the osu! chat, and works with node-irc-logger, using the same database.

THIS CODE IS DISCONTINUED AND NOT RECOMMENDED FOR USAGE IN PRODUCTION, ESPECIALLY DUE TO THE HUGE DATABASE LOAD THAT IS BEING SENT FOR A SINGLE REQUEST WHEN WORKING WITH A NORMAL DATABASE.

The code and the interface overall are pretty great, although if you plan on using it, you might want to check out the open issues and, most important of all, implemenet a proper db request caching system.

Running

if you're not experienced with this,

it might take a very, very long time.

-- GLADoS

First of all, clone this git repository into a server, or your machine. So far, it has been proved to be working only on Arch Linux, although it should work well on any other OS (because nodejs).

  • fire up a terminal
  • if you haven't installed git, nodejs and npm, install them.
  • git clone <this repo>
  • cd osuchatsearch2
  • npm install
  • cp config.sample.js config.js
  • vim config.js
  • cd ..
  • git clone https://github.com/TheHowl/node-irc-logger.git
  • cd node-irc-logger
  • cp config.sample.js config.js
  • vim config.js
  • npm install
  • apply schema.sql to the database in which the mysql is allowed to access
  • screen
  • node index.js
  • CTRL+A - D
  • cd ..
  • cd osuchatsearch2
  • apply schema.sql to the database in which the mysql is allowed to access
  • screen
  • export PORT=whatever port
  • vim /etc/nginx/conf.d/whatever configuration
  • make a proxy to the port listen to port 80 and yeah what-so-fucking-ever google it
  • npm start
  • CTRL+A - D

HELPPPPPPP!!!! HOW DO I VIM?????

if you don't feel comfy with vim, you can still use nano. whatever text editor will do it. anyway, for what we need to do in here:

  • you enter insert mode in vim by typing ins/insert on your keyboard.
  • in insert mode, you can edit the file normally.
  • when you've finished doing your stuff, type esc
  • then, type :w to write the file.
  • finally, type :q to exit the file.

There should be more things here. But when I wrote it on the original repo, I didn't bother going over it. And now i'm even more lazy. So, figure out everything for yourself /shrugs.