Giter VIP home page Giter VIP logo

dogbin's Introduction

dogbin - the sexiest pastebin and url shortener ever!

Sharing short code samples, logs, links or markdown notes is now easier than ever!

Basics

The easiest way to use dogbin, is from inside your browser. Type or paste your content into the text area on the homepage (ctrl + n), save it (ctrl + s) and copy the link. You can now share this link with whoever you want.

If you want to create a short url from a link, simply paste the link in the text field. You can now copy the resulting link and it will automatically redirect everyone.

Editing

You can edit your documents by clicking the edit button (or ctrl + e).

When you create your first document we will automatically create an (anonymous) account for you, so you will be able to edit your documents for as long as you keep our cookie. If you want a more permanent way to keep your pastes and edit them from multiple devices you can create an account. Pastes which you created before signing up will be automatically transferred to your account.

Custom URL

If you want to use a custom slug (the part after del.dog/) you can do so by entering your desired url in the Custom URL field.

Document lifetime

There is no explicit expiration time for documents on dogbin. Documents may however be removed at any time without notice.

Using from the command line

You can easily use dogbin from the command line with our official command line client inu.

API usage

The basic dogbin api is an extension of the hastebin API. Extensions include the ability to specify a custom slug, and the X-Api-Key header.

A more complete documentation and a full rest API (allowing for custom frontends) will be available soon.

Privacy

dogbin is a product which actually values your privacy. We are almost fully compliant with the EFF DNT policy (our goal is to be fully compliant by January 2020). We only use cookies for authentication and (apart from editing) all website features should be usable with cookies disabled.

Please note that all documents are currently indexable by search engines.

Analytics are only collected when allowed by the useragent and our analytics platform (Simple Analytics) uses no cookies and guarantees full privacy. All our analytics are publicly available here.

You can get 1 month of Simple Analytics for free using my referral link.

Open Source

dogbin is fully open source and built on open source technology. All sources can be found on GitHub. You can easily deploy it yourself wherever you want.

News and Updates

You can join our Telegram Channel to get updates on maintenance and new features.

Donations

I'm running dogbin in my free time, and unfortunately servers aren't free. The traffic and required storage is continuously increasing (and thus also server cost). You can financially support me via GitHub Sponsors, Liberapay or PayPal.

Contact

You can contact deletescape here.

dogbin's People

Contributors

nyancrimew avatar supersandro2000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dogbin's Issues

ERROR: for iframely Cannot start service iframely

Hi @deletescape, I was trying to run this locally.

I cloned the repo, and ran docker-compose up

Getting this

Starting dogbin_iframely_1      ... error
WARNING: Host is already in use by another container
ERROR: for iframely  Cannot start service iframely: driver failed programming external connectivity on endpoint dogbin_iframely_1 (e8ca751d875cef400b5f48d2335643e405f4b69c7633422af46b74a437ddd734): Error starting userland proxy: error while calling PortManager.AddPort(): conflict with ID 1
ERROR: Encountered errors while bringing up the project.

What do I need to set for the HOST variable? The port ?

WARNING: The HOST variable is not set. Defaulting to a blank string.

it would be great if you can provide a deployment guide.

Privacy section in the readme needs an update

The readme mentions Jan 2020, it is now May 2020

dogbin is a product which actually values your privacy. 
We are almost fully compliant with the EFF DNT policy
(our goal is to be fully compliant by January 2020).

Duplicate and Edit Feature?

Hey!
Thanks for this awesome service πŸ”₯

I was looking for Duplicate and Edit feature
I didn't find such option.
Adding this feature or guiding me (If it exists) will be very helpful to me

Thanks πŸ˜„

Logout api call throw a 404 response

Hi,

In the swagger editor, the logout call throw an 404 response instead the 200 "Successfully signed out" response when the POST call is done.

Steps to reproduce:

  • Make the login call whit correct credentials.
  • See in the Api Credentials the Application name of the key.
  • Make the logout call with the key obtained in the login call.
  • The 404 response is done.
  • See in the Api Credentias that the Application name has been deleted.

image

Simplified docker-compose

Amazing project! I truly love it. The persistent URL is a major boon in my opinion. However, is the docker-compose.yml a little overloaded at the moment? Is there a slim version one might try to just get this up and running quick without so many containers?

Thanks!

http 500 when registring

When I want to register on my own dogbin instance or on https://del.dog then I get a http 500 as an answer.

I pulled the following log from my own hosted instance:

2020-04-11T02:00:57.993467360Z 2020-04-11 04:00:57.993 [nioEventLoopGroup-4-1] TRACE Application - 200 OK: GET - /register
2020-04-11T02:00:58.249525478Z 2020-04-11 04:00:58.249 [nioEventLoopGroup-4-1] TRACE Application - 200 OK: GET - /static/manifest.json
2020-04-11T02:01:03.234056743Z 2020-04-11 04:01:03.233 [nioEventLoopGroup-4-1] ERROR Application - Unhandled: POST - /register
2020-04-11T02:01:03.234090517Z java.lang.OutOfMemoryError: Java heap space
2020-04-11T02:01:03.234097974Z  at com.amdelamar.jhash.algorithms.SCrypt.scrypt(SCrypt.java:83)
2020-04-11T02:01:03.234103347Z  at com.amdelamar.jhash.algorithms.SCrypt.create(SCrypt.java:351)
2020-04-11T02:01:03.234108484Z  at com.amdelamar.jhash.algorithms.SCrypt.create(SCrypt.java:326)
2020-04-11T02:01:03.234113394Z  at com.amdelamar.jhash.Hash.create(Hash.java:230)
2020-04-11T02:01:03.234118218Z  at dog.del.data.base.model.user.XdUser.setPassword(XdUser.kt:68)
2020-04-11T02:01:03.234123238Z  at dog.del.data.base.model.user.XdUser.signUp(XdUser.kt:51)
2020-04-11T02:01:03.234127806Z  at dog.del.app.frontend.UserKt$user$1$3$1$success$1.invoke(User.kt:131)
2020-04-11T02:01:03.234132763Z  at dog.del.app.frontend.UserKt$user$1$3$1$success$1.invoke(User.kt)
2020-04-11T02:01:03.234137938Z  at com.jetbrains.teamsys.dnq.database.TransientEntityStoreExt.transactional(TransientEntityStoreExt.kt:51)
2020-04-11T02:01:03.234142944Z  at com.jetbrains.teamsys.dnq.database.TransientEntityStoreImpl.transactional(TransientEntityStoreImpl.kt:95)
2020-04-11T02:01:03.234147697Z  at jetbrains.exodus.database.TransientEntityStore$DefaultImpls.transactional$default(TransientEntityStore.kt:84)
2020-04-11T02:01:03.234152493Z  at dog.del.data.base.DatabaseKt$suspended$2.invokeSuspend(Database.kt:39)
2020-04-11T02:01:03.234157272Z  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2020-04-11T02:01:03.234162087Z  at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
2020-04-11T02:01:03.234166682Z  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2020-04-11T02:01:03.234171317Z  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2020-04-11T02:01:03.234175938Z  at java.lang.Thread.run(Thread.java:748)
2020-04-11T02:01:03.249754745Z 2020-04-11 04:01:03.249 [nioEventLoopGroup-4-2] TRACE Application - 101 Switching Protocols: GET - /pw

delete a note? for registered users.

I looked all over for a delete option, saved notes are getting out of hand, some I don't use anymore how to remove unused old notes?

another bug is when I just paste a url in , it works great as a shortener but if I go back and edit that file and remove the url it still redirects to the url.

Set efficient caching headers

Right now https://del.dog is not setting any caching headers at all and loading all static files again and again. When we would set efficient caching headers we could save a bit of bandwidth and loading time.

http -h https://del.dog/static/app.css?gbuster=5507d1d8
HTTP/1.1 200 OK
Content-Encoding: deflate
Content-Type: text/css; charset=UTF-8
Date: Sun, 16 Feb 2020 07:18:34 GMT
Server: Caddy
Transfer-Encoding: chunked

[FeatureRequest] Upload text file

Sometimes we need to upload a log file, like as logcat file, So this is a good feature if there is an option to upload the file and service will read the content.

Add this in my android phone

hi , I don't know about this after my friend's phone I saw that when an app crash it gives me a link to log report of bug report why it crashes which opens in the new dogbin link. so what is possible way which i implement it in my phone or how to set it kindly guide me about this i don't know about it all

Update Simple Analytics script

The Simple Analytics script needs to be updated with upstream changes to support reporting of unique visits again. Additionally we need to support this on the backend as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.