Coder Social home page Coder Social logo

dogbin / dogbin Goto Github PK

View Code? Open in Web Editor NEW
366.0 366.0 46.0 2.72 MB

The sexiest pastebin and url shortener ever

Home Page: https://del.dog

License: MIT License

JavaScript 10.56% CSS 8.80% Dockerfile 0.60% Kotlin 74.50% Shell 0.18% Go 5.36%
docker hastebin kotlin ktor pastebin pastebin-service url-shortener

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

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!

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.

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

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.

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.

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

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

[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

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 πŸ˜„

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).

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.