📜 ⬆️ ⬇️

VKFS - File system for VKontakte based on Fuse

Not so long ago on Habré (and leprosy, and somewhere else), this gif appeared:
image
I sat and thought: “Why not?”
Some time passed and, as I promised ...
Meet VKFS is a fuse-based vkontakte file system.
This is not a release - so far only the ability to read your own wall has been realized, but the whole “framework” is already ready for this.
Along the way, I write the library vklib, which is designed to work with userapi. Perhaps, I will select it later in a separate project, but for now - these are two files vklib.cpp and vklib.h =)

code.google.com/p/vkfs - here you can download the source via svn, and lazy for whom -
vkfs.googlecode.com/files/vkfs.gz - ready binary.

Everything works simply:
$ vkfs / mount / point
e-mail:
password:
your vkontakte-id:
')
Where / mount / point is the mount point, any folder.

Why enter your vkontakte-id? I have not found a way to use it to determine it. Maybe someone came across?

In the folder / mount / point / there are only 2 folders - Messages and My_Info.
Go to My_Info: there are files Wall and AboutMe.
Of all this, only the wall is realized - Wall.
Open it in any editor, or with
$ cat Wall
We read and rejoice =)

To unmount:
$ fusermount / mount / point -u

The libraries used curl and curlpp wrapper for curl in c ++; and actually fuse. UPD And also cajun-json .

I am looking for people, a couple of people are enough who agree with me to do this useless business =)

Source: https://habr.com/ru/post/85014/


All Articles