Giter Site home page Giter Site logo

subreddit-monitor's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

franksalmick

subreddit-monitor's Issues

Test Reddit's Rate-Limiting

  1. Continuously fire requests, counting the number of successful ones and stopping after the first error.
  2. Change user-agent, try again. If the requests go through, then reddit only checks the user-agent, and that makes it easier for us to scale the app and accommodate new users.

Isolate subreddit-monitor in deployment environment

Currently, this project is hosted on my ec2 instance, where restarting the server kills this app as well as all other hosted apps.

Solutions:

  • Logically isolate apps using docker. A system reboot would still kill all applications, but system reboots would mostly be replaced by logical reboots. Requires modifying rc.local to spin up containers.
  • Move project to raspberry pi. Solves this issue, but doesn't solve the underlying problem of "2+ hosted apps on one machine".

Make a bot

Thinking a FB bot.

Makes sense, in a way:

  • Benefits of the FB platform (handles user auth, distribution, accessibility, etc.)
  • Messaging throws up a quick UI around a script that would be otherwise inaccessible to people who don't know coding.

Cons:

  • Messaging wouldn't be the most efficient UI. A form would be easier for the user. Can you send forms through FB messenger?

If I do this, will also need to hide what topics a person is subscribed to. I shouldn't be able to access that sensitive information. (worry about security later)

Needs an architectural discussion:

  • Notification system should be separate from the chat server. The chat server interfaces with the user and writes to a common store. The notification system reads from the common store.

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.