Giter VIP home page Giter VIP logo

miyako's Introduction

Miyako

Note: This repository is archived and https://miyako.tkesgar.com is no longer available.

Miyako

Miyako is an app to download images from Facebook. It works by making API requests to Facebook Graph API to get the image URLs. For certain node types like albums, Miyako can also compress all of the images into a single ZIP file for one-click download.

I create this to make downloading various reference photos from Internet easier. Downloading all of them one-by-one is a complete waste of time.

Also, I want to learn React and Redux.

Supported URLs

  • Currently only photo and album node type are supported.
  • API requests are subject to permission scope. The most basic scope only allows access on public nodes (Pages, for example).
  • Miyako works by extracting the node ID from the provided URL via a bunch of regexes. Since Facebook URLs are subject to change, please submit an issue if you find a URL that Miyako cannot parse.

Deployment

You will need these things to get started:

  • Node.js
  • npm
  • Facebook App ID with Facebook Login turned on. You might also need to configure the Site URL settings and Login Callback.

After cloning this repository, run these steps bellow:

  • npm install to install the dependencies.
  • Copy app/_config.sample.js into app/config.js and modify it as neccessary.
  • npm run build to compile the source into the public folder.

You can now serve the public folder with your favourite HTTP server with pushState support, for example pushserve or pushstate-server.

Contributing

Contributions are greatly appreciated. Feel free to check things to do below and submit a pull request. You can also find TODO comments in the source code, or check the issues page.

Todo

  • Features
    • Add more URL support
      • Permalinks (from Facebook embed)
      • Videos
      • Facebook redirection URLs (URLs that change in-between navigations)
      • Singular links (must get page ID and prepend it to the post ID)
    • Change the filename of downloaded files.
      • We cannot do this with direct download from image URLs provided by Facebook API. As a workaround, we have to load the image into a <canvas> and obtain the blob data.
    • Modify the downloaded images using <canvas> to add some information (for example the author or image owner).
    • Better user interface and UX flow
  • Maintenance
    • Testing
    • Documentation
    • Better architecture (let's just say I'm still new to React ๐Ÿง)

Miyako who?

From Hidamari Sketch.

Miyako

License

Licensed under MIT License.

miyako's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

miyako's Issues

Permission is Required

App Not Setup: This app is still in development mode, and you don't have access to it. Switch to a registered test user or ask an app admin for permissions.

permission

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.