Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Latest commit

 

History

History
72 lines (72 loc) · 4.99 KB

README.md

File metadata and controls

72 lines (72 loc) · 4.99 KB

scr-web

GitHub Docker Hub
license GitHub
relase GitHub release Docker Image Version (latest semver)
build status publish-image
downloads GitHub downloads Docker Pulls
people GitHub contributors
code size GitHub code size
forks GitHub forks
stars GitHub stars Docker Stars
watchers GitHub watchers

Description

Social media web scraper CLI for post file downloads.

Contributing

  • Separate Git branch to the master branch (after being approved as a contributor by the repository's owner).
    • After reviewing the changes, this branch will be merged to the main branch.
  • Separate fork to this repository

Usage Responsibilities

  • You can't attempt to create accounts or access or collect information in unauthorized ways. This includes creating accounts or collecting information in an automated way without our express permission.

You may not:

  • use automated scripts to collect information from or otherwise interact with the Services;

C Service Rules
You agree not to engage in any of the following prohibited activities:

  • (I) copying, distributing, or disclosing any part of the Service in any medium, including without limitation by any automated or non-automated “scraping”,
  • (II) using any automated system, including without limitation “robots,” “spiders,” “offline readers,” etc., to access the Service in a manner that sends more request messages to the VSCO servers than a human can reasonably produce in the same period of time by using a conventional on-line web browser (except that VSCO grants the operators of public search engines revocable permission to use spiders to copy materials from vsco.co for the sole purpose of and solely to the extent necessary for creating publicly available searchable indices of the materials but not caches or archives of such materials),
  • (XI) accessing any content on the Service through any technology or means other than those provided or authorized by the Service,
  • (XII) bypassing the measures we may use to prevent or restrict access to the Service, including without limitation features that prevent or restrict use or copying of any content or enforce limitations on use of the Service or the content therein.

Set-up

  1. Create a docker-compose.yml file:
  version: "3"
  services:
    scr:
      container_name: scr
      image: applegamer22/scr-web:<version>
      environment:
        JWT_SECRET: <some_private_key>
        DATABASE_URL: mongodb://<some_database_location>:27017/<some_database>
      ports:
        - <available_port>:4100
      volumes:
        - ./<some_local_directory>:/scr/users
        - ./<some_local_directory>:/scr/storage
    database:
      container_name: database
      image: mongo:4.2.0
      restart: always
      volumes:
        - ./database:/data/db
      ports:
        - 27017:27017
  1. Run docker-compose up --build in your command prompt.
  2. Load the web interface from http://localhost:4200/.
  3. Sign-up with your social network credentials (To be stored in your MongoDB instance).
  4. Sign-in with your social network credentials.

Generating icon assets

  1. Get Ionicons Tool SVG File.
  2. Go to online SVG editor:
    1. Colour shape #0cd1e8.
    2. Download modified SVG file.
  3. Use online image resizer.
    1. Export to PNG.
  4. Use online image type converter to get ICO files.
  5. Use online image background colouriser:
    1. to change icon-192x192.png to white.
    2. rename to icon-ios-192x192.png