mProjectsCode / obsidian-stats

https://www.moritzjung.dev/obsidian-stats/
GNU General Public License v3.0
14 stars 2 forks source link

[Feature] Tracking Obsidian Releases data #1

Open Fevol opened 10 months ago

Fevol commented 10 months ago

Thank you very much for this amazing project, I have honestly been thinking about a website like this ever since I created my toy data collecting project, so I'm really glad that this finally exists! :heart:

In case that you are not already working on it, an interesting addition and logical next step for this project would be to also keep track of the Obsidian releases data, and then visualise it using stacked barcharts, for example:

releases-platform-share releases-platform-share

If you feel comfortable with it, I'd be glad to contribute to this project (though you may need to add a license first to this project)


Practical details

Tracking overview Most of the data is already easily available via the `https://api.github.com/repos/obsidianmd/obsidian-releases/releases` endpoint. The exact Android/iOS releases can only be fetched by the Obsidian team, to my knowledge. (The play store only shows order of magnitudes, but no exact data) -- could be an interesting reference to include in total downloads overview? Finally, I think Flathub is the only independent Linux package manager where Obsidian is also distributed and the stats are (somewhat accurately) tracked. It looks like this data is being tracked by the [flathubs-stats](https://github.com/klausenbusk/flathub-stats/tree/gh-pages) project (MIT), with the raw data being stored at: `https://raw.githubusercontent.com/klausenbusk/flathub-stats/gh-pages/data/md.obsidian.Obsidian.json` I haven't been able to suss out whether insider releases statistics can also be retrieved, but I assume those sit behind private API's **TRACKED** - _Most_ desktop downloads (both installs and updates mixed in data), retrievable via Github (incremental) and Flathub (daily) **NOT TRACKED** - Mobile releases (iOS/Android) - Insider releases
OS Releases overview | Distribution | OS | TYPE | IS | COMMENTS | | ---- | ---- | ---- | ---- | ---- | | obsidian-x.y.z.asar.gz | N/A | N/A | N/A | File downloaded by built-in updater | | Obsidian-x.y.z-universal.dmg | MacOS | | x86/ARM | | | Obsidian-x.y.z.AppImage | Linux | | x86 | | | Obsidian-x.y.z-arm64.AppImage | Linux | | ARM | | | obsidian-x.y.z-arm64.tar.gz | Linux | | ARM | | | obsidian_x.y.z_amd64.deb | Linux | Debian | x86 | | | obsidian_x.y.z_amd64.snap | Linux | Snap | x86 | | | obsidian-x.y.z.tar.gz | Linux | | x86 | | | obsidian-x.y.z-32.exe | Windows | | x86-32 | Legacy 32bit | | obsidian-x.y.z-allusers.exe | Windows | | x86 | Installed for all users | | obsidian-x.y.z.exe | Windows | | x86 | Regular windows installer | | obsidian_x.y.z_arm64.exe | Windows | | ARM | |

mProjectsCode commented 10 months ago

Thanks for all the info on this. I added a license and am happy to accept contributions. I can try asking Sigrunixia if Obsidian has more in-depth internal statistics that we could use.