Skip to content

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

License

Notifications You must be signed in to change notification settings

philgyford/django-ditto

Repository files navigation

Django Ditto

PyPI - Python Version image codecov image Ruff pre-commit

A collection of Django apps for copying things from third-party sites and services. Requires Python 3.9 to 3.12, and Django 4.2, 5.0 or 5.1.

Read the documentation.

See screenshots of a site using the supplied templates.

Install using pip:

$ pip install django-ditto

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

NOTE 2: As of 2023 I'm unsure how well the Twitter integration still works given the state of its API etc.

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)