Most of the interesting stuff is in 4ch_sequelize.js
4ch_sequelize_database contains the Sequelize table definitions and setup
This code is not currently designed for use outside a code editing environment.
(I use Visual Studio code to write and run this.)
Try to keep requests below 1 per second (per 4chan's guidelines).
- Git
- NodeJS + NPM
- (Optional) Visual Studio Code
- Clone this repository with
git clone https://github.com/Wolvan/node_4ch.git && cd node_4ch
- Run
npm install
to get the necessary modules - Run the program with
npm start
- Clone the repository (command above) and run
npm install
- Run
npm run watch
to permanently build changes insrc/
- Run
npm run exec
to start the built version - Use
npm run debug
and VSCode's ATTACH launch option to step through your code npm run build
compiles yoursrc/
directory with babel tobuild/
npm run lint
runseslint
on your code and makes sure your style fitsnpm test
runs all available tests (currently onlynpm run lint
)
Before submitting a pull request, please make sure that your code complies with the linting rules.
4chan's API docs https://github.com/4chan/4chan-API
https://desuarchive.org's versions of Asagi and FoolFuuka https://github.com/desuarchive/asagi https://github.com/desuarchive/FoolFuuka