Coder Social home page Coder Social logo

archiver's Introduction

Archiver

Used for automatically archiving data from various 3rd Party Sources to Google Drive

Services supported

  • Wakatime
  • Rescuetime
  • Trakt

Steps

  1. Clone the repository.
  2. Copy .env-sample to .env and populate the contents as required for local testing.
  3. For Github automation same values must be populated in GitHub secrets.
  4. Modify the CRON timings as per your requirement.
  5. Whenever anything is changed or as per the CRON schedule, the job will be executed.

Wakatime

  • Only wakatime username is required for getting weekly data.
  • Optionally you can fill the Activity URL which is got from the wakatime Share menu.

Rescuetime

  • Rescue time API key needed.

Trakt

NOTE : Trakt exports entire user data, so its advisable not to add it in CRON action. You can run it manually in local machine. Since trakt doesn't delete user data after certain interval, its not much of an issue.

  • Trakt API key needed.
  • Trakt User name.
  • Optional - By default trakt fetches the stat of the user. For getting complete data about movies/shows, fill in TRAKT_TYPE with "movies"/"shows" respectively.

Google Drive

Note : Follow the instructions from this page to setup connection to your google drive.

  • Run the code initially in local machine to token.json for google drive API and add it to the Root directory.
  • Once that is done, and .env/Github Secrets has been populated with client-id and client-secret. It's ready for CRON job.
  • GDrive folder is optional. Will default to ROOT directory
  • Based on the expiry_date of the token.json, might have to generate new token.json from your localmachine.

archiver's People

Watchers

Vaishak Kaippanchery avatar

archiver's Issues

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.