Server Side Source code?

Home Forums Code, Bugs, Suggestions, Questions Server Side Source code?

This topic contains 17 replies, has 2 voices, and was last updated by  Spacehug 6 months, 2 weeks ago.

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #11544 Reply

    Danny

    Hey did you publish the server side code for this library….would love to see it

    #14520 Reply

    messiah

    he didn’t do it. he doesn’t give a shit anymore on this website.

    #14554 Reply

    Spacehug

    Hey there,
    I think you might be interested in my implementation of Borges’ Library of Babel written in python 3.6
    It does need some code-review and tweaks, but it is usable already and it can utilize all the unicode characters (I decided not to use control characters, such as ASCII TAB, CR, LF and so on).
    Check out my github project page for the code

    You can install it as follows:
    pip install pyborgeous
    Or checkout from github directly

    Usage:
    pyborgeous -cm unicode -t 'The colony on Mars was founded in 2025' -o address.txt
    (Will print unicode address to console and write it to address.txt)

    pyborgeous -cm unicode -af address.txt -o text.txt
    (Will print the page to console and write it to text.txt)

    It also supports other charsets:
    binary (01), morse code ( .-), borges (a-z without kswx), classic (like this site, but I am not sure if the addresses will be the same, needs testing), full (A-Za-z, .)
    Also you can specify custom charset or a charset file:
    pyborgeous -c ' 0123456789абвгдеёжзийклмнопрстуфхцчшщъыьэюя, .-!?' -t 'апрель 2017-го' -o address.txt
    pyborgeous -cf russian.txt -t 'Привет' -o address.txt
    Of course, the addresses will be encoded with these characters and will not be very useful 🙂

    Please, don’t forget to give it a star on github 🙂 It may really help me to land a job.

Viewing 3 posts - 16 through 18 (of 18 total)
Reply To: Server Side Source code?
Your information: