My space in the world

Code is poetry

Posted by Sayak
October - 2 - 2013

I deployed a new version of KDE Pastebin today – which should be available at paste.kde.org. Here are a few things to note:

  • Even though paste.kde.org will redirect you to pastebin.kde.org, the old API is still available at paste.kde.org
  • The new API will be available at pastebin.kde.org. Please refer to the API specs here: http://sayakb.github.io/sticky-notes/pages/api/
  • Please update your client to use the new API at pastebin.kde.org. If the users that use your client switch to the latest version of your client app, they will end up using pastebin.kde.org behind the scenes. The users who haven’t updated to the latest client app yet will continue using the old API.
  • The old API will be deprecated on Jan 31 2014.
  • After Jan 31 2014, paste.kde.org will also have the new API endpoints. However, pastebin.kde.org will also exist indefinitely as an alias to paste.kde.org – so you can continue using that URL.

10 Responses to “KDE Pastebin API updates”

  1. That’s awesome, it gives us ample time to update Plasma’s pastebin Plasmoid. Thanks!

  2. Albert says:

    Why are you developing this in github and not kde git? Is there anything using the old API?

    • Sayak says:

      Personal choice – I can use whatever I want to! ;) But to be honest, just to give it more visibility.

      Plus, this is not a KDE project (it is also used by Fedora, CentOS, Chakra and many other projects). However, I do maintain a mirror at http://projects.kde.org/paste-kde-org

      We do it the same way for all webapps we have, including drupal, chiliproject, MediaWiki and phpBB.

      Currently, pastebinit and the paste plasmoid uses the old API.

      • Laszlo Papp says:

        You could still host it under KDE while used by other projects, but I guess it is your call. :-)

        Although it makes me wonder: we do not have enough visibility in KDE? Can we improve that somehow? What are the bottlenecks?

  3. mark says:

    Hi,

    I’d like to ask to make a change in paste stuff on the website.

    In a paste you have line numbers and some line hover color. Thus far just fine. However, when you click a line – anywhere in the line – then somehow someone apparently thought it is smart to automatically scroll down with the clicked line as the top most visible thing. That is so freaking annoying! If you just clicke a few times in a diff then you have jumped through the entire diff. Gitorious has done the same thing in their code viewer and quite frankly it sucks!

    Note: i really don’t know how to explain this very well, but i hope the above makes some sense :)

  4. kero says:

    thanks for the new version

  5. Evgeniy says:

    just installed under nginx+php-fpm, works good.
    thanks for paste script.

  6. Srinibash Dhal says:

    It’s awesome..It is very good thought and using github will definitely help you..Best wishes for you

  7. sunder raman says:

    Wonderful app. You can also add an api call for the IP address of the people who have viewed the paste. It will give the original user a track of where the paste is fetches from. ;-) I

Leave a Reply

About Me

A son, brother and friend. Enjoys scripting and making small bits of apps here and there. Wants to conquer the world (well, who doesnt). A geek who has an obsession for ponies. Loves acoustic and wants to play guitar sitting on the Hollywood hill one day!

A Word About KDE

KDE is a versatile software compilation for all platforms. It is an intuitive and powerful desktop environment that focuses on finding innovative solutions to old and new problems, and creating a vibrant, open atmosphere for experimentation.

» http://www.kde.org