Skip to content

jamesaxl/FreeSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeSnake

FreeSnak is a package that contains:

  • Fcp (is a suite of command-line freenet applications, as well as a powerful Python library, for Freenet).
  • Fsite (Freenet site manager GUI)
  • Fchat (Freenet chat GUI).
  • Fradio (Freenet Radio GUI).
  • Ftube (freenet tube GUI. It will be used only in Darknet mode).
    • Darknet Mode is: When you have a number of connections with friends.

Installation

Fcp requires python version 3 to run.

$ . /path/to/py3_virtualenv/active/bin
(py3_virtualenv)$ cd /path/to/FreeSnake
(py3_virtualenv)$ pip install -r requirements.txt

Fsite demo

(py3_virtualenv)$ cd /path/to/FreeSnake
(py3_virtualenv)$ python
>>> from Fsite.Base.WebSite import WebSite
>>> w = WebSite()
>>> w.insert('name_of_your_web_site', 'absolute_path_of_your_web_site', 'default_index')

To Update a website

(py3_virtualenv)$ cd /path/to/FreeSnake
(py3_virtualenv)$ python
>>> from Fsite.Base.WebSite import WebSite
>>> w = WebSite()
>>> w.update('name_of_your_web_site', 'absolute_path_of_your_web_site', 'default_index')

Fsite Radio

(py3_virtualenv)$ cd /path/to/FreeSnake
(py3_virtualenv)$ python
>>> from Fradio.Base.Radio import Radio
>>> r = Radio()
>>> r.insert('name_of_your_radio', 'absolute_path_of_your_radio')

To Update a website

(py3_virtualenv)$ cd /path/to/FreeSnake
(py3_virtualenv)$ python
>>> from Fradio.Base.Radio import Radio
>>> r = Radio()
>>> r.update('name_of_your_radio', 'absolute_path_of_your_radio')

To get list of files

r.get_radio('PUBLIC_SSK_OF_RADIO', 'path', 'name_of_file')

To play

cvlc `sed 's,.*,url:port/&,' file_that_you_get_from_freenet`

About

Freenet lib (python)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages