Git Product home page Git Product logo

facepunch-api's Introduction

facepunch-api

A new and working api for the Facepunch forum

Online API

This repo is deployed to this URL: https://facepunch-api-eu.herokuapp.com/

Status

I have finally found out how to scrape the new site, that uses Vue.js, and I'm currently working hard on making the site readable, through the api.

11/12/18 Another FP user made me aware we don't need phantomjs at all! Apparently everything we need is delivered to the DOM, and makes is super easy to scrape! And a whole lot faster too!

Now, I'm just making the post parsing work, as they are in the Quill delta format, and I want it in a little different, when I will make the FP app.

What can be scraped?

  • Category page
  • Single Forum
  • Threads
  • Manifest (Emotes, threadicons, rating icons)

It still needs a bit of work, but it's a great POC that FP can be scraped for API use.

What is missing?

  • Post ratings
  • Authentication
  • Thread making
  • Posting
  • User profiles
  • Search page
  • User notifications
  • Settings page
  • API documentation
  • Configuration file for port etc...

How to use

  • Clone
  • run npm install
  • run node index
  • API is now running.

Helping

Feel free to help on the project!

facepunch-api's People

Contributors

dasmikko avatar

Watchers

 avatar  avatar

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.