Skip to content

Adds entries to purchase list file to make eBooks visible in iBooks.

License

Notifications You must be signed in to change notification settings

MatiasG19/ipad-ibooks-plist-editor

Repository files navigation

iPad iBooks Plist editor CI/CD

Generate .plist entries for iBooks on iPad with an interactive script. It is useful for old iPads that do not work with webservices anymore.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Books</key>
	<array>
		<dict>
			<key>Inserted-By-iBooks</key>
			<true/>
			<key>Name</key>
			<string>SQL - The complete reference</string>
			<key>Package Hash</key>
			<string>4BBF070DD0974E62AAD0E24F14AECEAA</string>
			<key>Path</key>
			<string>SQL - The complete reference.pdf</string>
			<key>Persistent ID</key>
			<string>4BBF070DD0974E62</string>
			<key>Persistent ID Generated On Device</key>
			<false/>
			<key>importDate</key>
			<date>2023-07-15T14:33:32Z</date>
		</dict>
	</array>
</dict>
</plist>

Usage

  1. Copy Purchases.plist from /User/Media/Books/Purchases on iPad to local machine.
  2. Download script from releases.
  3. (Linux only) Add permissions chmod +x ipad-ibooks-plist-editor.
  4. Execute script and follow prompts.
  5. Copy books and Purchases.plist to iPad.
  6. After restarting iBooks, the new books should apear in the library.

Getting started

Install .NET CLI.

Debug project:

dotnet run

Build project:

dotnet build

Publish: dotnet publish -c Release

Supported file types

pdf

About

Adds entries to purchase list file to make eBooks visible in iBooks.

Topics

Resources

License

Stars

Watchers

Forks

Languages