dont-track-me-google
Firefox and Chrome extensions to prevent Google from making links ugly.
Userscript to filter, search, organize, or delete your Google Photos library
git clone https://github.com/xob0t/Google-Photos-Toolkit.gitxob0t/Google-Photos-ToolkitBulk organize your media
In your browser, utilizing GP's undocumented web api
This example groups all space-consuming media in one album.
SPACE-CONSUMING in the Space filterAdd to new albumSelect all albums in the Exclude albums filter, then use appropriate action.
Use Similarity filter with action Add to new album
Media with similar thumbnails will be added to the album.
As simple as selecting "Library" source, clicking Move to trash, then clearing it.
GPTK exports it's api class globally so you can use it in your browser's console.
It's much more powerful than the UI!
Example usage.
Scan the whole library for media owned by ownerName and move it to trash if found.
let nextPageId = null;
const ownerName = 'John';
do {
const page = await gptkApi.getItemsByUploadedDate(nextPageId);
for (const item of page.items) {
if (item.isOwned) continue;
const itemInfo = await gptkApi.getItemInfoExt(item.mediaKey);
console.log(`${item.mediaKey} is shared by ${itemInfo.owner.name}`);
if (itemInfo.owner.name == ownerName) {
await gptkApi.moveItemsToTrash([itemInfo.dedupKey]);
console.log(`${item.mediaKey} moved to trash`);
}
}
nextPageId = page.nextPageId;
} while (nextPageId);
console.log('DONE');
If you want to learn more about how GP's api works, read https://kovatch.medium.com/deciphering-google-batchexecute-74991e4e446c
I just found this post, after doing all the work from zero :D
Also, i've made a userscript that parses all responses and logs them to console in a more readable way, you can find it here - https://github.com/xob0t/Google-Photos-Toolkit/tree/main/tools
If something does not work, open an issue and describe it in detail
If you have a question, open a discussion
Borrowed some code and UI inspiration from undiscord
If GPTK is useful to you, please consider supporting the project:
BTC 12znTocLytrrYhQT4AJVeJdR8KTULWbKb7
BTC Cash qq7w48d6s3rddgxshl6ae48k7c5jyck76crvppqenn
DOGE DQjBzT2qMuXkLMawUXG7umTf3k9VeT4Y6K
Etherium 0xcfe559D9F6056F82a6CFdEDA51c00132035955c8
Litecoin ltc1qcgc873py5k28qm85sk5d53yfwzle4cztmvkh6l
more like this
Firefox and Chrome extensions to prevent Google from making links ugly.
NiceFont —— 一款优化网页字体显示的工具,让浏览更清晰、舒适!“真正调整字体,而非页面缩放,拒绝将就”!可直接修改网页的字体大小与风格,保存你的字体设置,轻松应用到每个网页,支持首次、定时或动态调整字体,适配子域名、整站或全局设…
search projects, people, and tags