Giter VIP home page Giter VIP logo

fanficker's Introduction

Fanficker

Story downloader I'm working on for fun.

Should work with any recent version XenForo forums (i.e. SpaceBattles, Sufficient Velocity).

Using the app

Open up http://localhost:3000

Submit thread URL from a compatible message board on the main page.

Currently only works with base URL. I.e. https://forums.spacebattles.com/threads/maplebird-test.1234 will work, but https://forums.spacebattles.com/threads/maplebird-test.1234/page-30#post-75438880 will NOT work.

If you want to refresh a previously downloaded story, submit its thread URL again on the main page.

Requirements

Standard rails app.

Requires:

  • Ruby 2.6.6
  • Postgresql

Database default creds:

  • User: fanficker
  • Password: fanficker
  • Database: fanficker

For development mode, requires permissions to create and modify a new database.

Installation

bundle install
bundle exec rails db:setup

Run the server

rails server -b 0.0.0.0

App will be available at http://localhost:3000

Running in production mode

Set RAILS_ENV=production first.

Set the following environment variables if they're different from defaults.

DATABASE_USER=
DATABASE_PASSWORD=
DATABASE_NAME=
DATABASE_HOST=
DATABASE_PORT=

Fanficker also uses AWS S3 as the backend for ActiveStorage. Set the following environment variables as well:

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_BUCKET=
AWS_REGION=

Create the database, run migrations, then start the server:

# Create the database (if doesn't exist)
bundle exec rails db:create

# Run migrations and start
bundle exec rails db:migrate
bundle exec rails server -b 0.0.0.0

fanficker's People

Contributors

devops-corgi avatar maplebird 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.