GmailFS - Gmail Filesystem

GmailFS - Gmail Filesystem

offline
  • AxeZ 
  • Legendarni građanin
  • Pridružio: 17 Apr 2003
  • Poruke: 3989
  • Gde živiš: Novi Sad, Vojvodina

http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html

GmailFS provides a mountable Linux filesystem which uses your Gmail account as its storage medium. GmailFS is a Python application and uses the FUSE userland filesystem infrastructure to help provide the filesystem, and libgmail to communicate with Gmail.

GmailFS supports most file operations such as read, write, open, close, stat, symlink, link, unlink, truncate and rename. This means that you can use all your favourite unix command line tools to operate on files stored on Gmail (e.g. cp, ls, mv, rm, ln, grep etc. etc.).

Please be gentle on the Python code. This is my first foray into Python and I'm sure the code is far from elegant. I'm particularly concerned with my attempts to manipulate mutable byte arrays in Python. I'm sure that there must be a less clumsy way of doing it than the nasty list -> array -> string path I'm currently using. Python has a reputation as an excellent language choice for rapid prototyping. The first working version of GmailFS took about 2 days of coding. There was an additional 1.5 days spent on performance tuning and bugfixing. Given that this includes language learning curve, Python's reputation seems well deserved.



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Pridružio: 18 Apr 2003
  • Poruke: 550

Pa ovo je strava... uradjeno je tako dobro, da se posta sa Gmaila salje na localhost, i da moze da se cita ako se jednostavno ukuca mail, hehe...



offline
  • AxeZ 
  • Legendarni građanin
  • Pridružio: 17 Apr 2003
  • Poruke: 3989
  • Gde živiš: Novi Sad, Vojvodina

Ne samo posta.
Mozes transparentno koristiti tih 1 Gb podataka na Gmailu ko da su na lokalnom disku...Smile

offline
  • AxeZ 
  • Legendarni građanin
  • Pridružio: 17 Apr 2003
  • Poruke: 3989
  • Gde živiš: Novi Sad, Vojvodina

Evo, upravo probam ovo.
Nije lose, nije lose...malo sporo doduse ali 1GB online prostora a da se radi kao na lokalnom disku su extra cool.

Ko je trenutno na forumu
 

Ukupno su 1230 korisnika na forumu :: 40 registrovanih, 6 sakrivenih i 1184 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: _Rade, A.R.Chafee.Jr., Asparagus, Bobrock1, Cassius Clay, CikaKURE, crnogorac, dika69, Dorcolac, FOX, GandorCC, Georgius, HrcAk47, ikan, ILGromovnik, Karla, Kruger, laurusri, lord sir giga, Luka Blažević, marsovac 2, Metanoja, MIg, milenko crazy north, Milos82, novator, pein, Pikac-47, Rakenica, raptorsi, RJ, ruma, saputnik plavetnila, shone34, Smajser, stegonosa, taz1cl, theNedjeljko, vathra, vukovi