Coder Social home page Coder Social logo

ruqqus-archive's Introduction

ruqqus-archive

Description

ruqqus-archive is a tool to archive content from ruqqus.com (ruqqus) and to display the content on a website.

Requirements

Installation

Clone the repository.

git clone https://github.com/Merrick919/ruqqus-archive.git

Enter the directory.

cd ruqqus-archive

Install the dependencies.

  • chalk
  • dotenv
  • node-fetch
  • nodemon (optional, it just helps with the development process)
npm install

Configuration

Create a .env file with the variables below:

  • COOKIE (the value is your cookie from ruqqus.com (this is so you can log in and access the API))
  • PAGES (the value is the last page you want to archive up to - it archives from page 1 to the page value you provide)

Example .env file:

COOKIE=session_ruqqus=.iDdi9JU56CbyA_csy5d8aICyb3cboi8-Cni3ycn_co9ac8yuWOy
PAGES=100

Usage

node archive.js

If you are using nodemon:

nodemon archive.js

About the incomplete archive data

I had a lot of school work to do and did not spend much time on this project. When I did have free time, I first started testing the archiving - coincidently, that was the time of the deadline - Ruqqus's API closed in the middle of an archive test. I had overestimated the time I had before the deadline. The data published here is all I have been able to archive.

As far as I know, there is no full archive of Ruqqus. There is a partial archive available at https://ruqqus-archives.netlify.app/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.