šŸ“¦āž”šŸ¦‹ Store and retrieve files on the Atmosphere
35
fork

Configure Feed

Select the types of activity you want to include in your feed.

upload: add some more debug messages

Ducky 7c3d928f cc39aa57

+4
+4
atfile.sh
··· 1840 1840 fi 1841 1841 1842 1842 file_type_emoji="$(atfile.util.get_file_type_emoji "$file_type")" 1843 + 1844 + atfile.say.debug "File: $file\n↳ Date: $file_date\n↳ Emoji: $file_type_emoji\n↳ Hash: $file_hash ($file_hash_type)\n↳ Name: $file_name\n↳ Size: $file_size\n↳ Type: $file_name" 1843 1845 1844 1846 unset file_finger_record 1845 1847 unset file_meta_record ··· 1850 1852 [[ $_output_json == 0 ]] && echo "Uploading '$file'..." 1851 1853 blob="$(com.atproto.sync.uploadBlob "$file")" 1852 1854 success=$(atfile.util.is_xrpc_success $? "$blob") 1855 + 1856 + atfile.say.debug "Uploading blob...\n↳ Ref: $(echo "$blob" | jq -r ".ref.\"\$link\"")" 1853 1857 1854 1858 if [[ $success == 1 ]]; then 1855 1859 file_record="$(blue.zio.atfile.upload "$blob" "$_now" "$file_hash" "$file_hash_type" "$file_date" "$file_name" "$file_size" "$file_type" "$file_meta_record" "$file_finger_record")"