django-ditto icon indicating copy to clipboard operation
django-ditto copied to clipboard

A collection of Django apps for copying things from third-party sites and services.

Django Ditto

image codecov image Code style: prettier Code style: black Imports: isort pre-commit

A collection of Django apps for copying things from third-party sites and services. Requires Python 3.6, 3.7, 3.8, 3.9 and 3.10, and Django 3.2, 4.0 and 4.1.

Read the documentation.

See screenshots of a site using the supplied templates.

Install using pip:

$ pip install django-ditto

NOTE: It will install Pillow, among other things, which has prerequisites of its own, such as libjpeg and zlib. Sorry.

Currently, Ditto can copy these things from these services:

  • Flickr
    • Photos
    • Photosets
    • Original image and video files
    • Users
  • Last.fm
    • Scrobbles (Artist, Track and Album)
  • Pinboard
    • Bookmarks
  • Twitter
    • Tweets
    • Favorites/Likes
    • Images and Animated GIFs (but not videos)
    • Users

The Ditto apps provide:

  • Models
  • Admin
  • Management commands to fetch the data/files
  • Views and URLs
  • Templates (that use Bootstrap 4)
  • Template tags for common things (eg, most recent Tweets, or Flickr photos uploaded on a particular day)