Giter VIP home page Giter VIP logo

coindrop's People

Contributors

dependabot[bot] avatar leonidasmark avatar remjx 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

coindrop's Issues

Dynamic "preferred" method, based on user's location.

I really the like the "preferred" thing.

But I will prefer different method for users from different parts of world based on transanction fee.

Like for example, from an Indian, i will prefer UPI, but for someone abroad I will prefer crypto.

Is there a way to do that ? I believe that a person's approximate location or country can be found using the public IP of that person.

Remove redundant calls of initFirebase()

initFirebase is called multiple times, once for: db, storage, useUser, auth. Since firebase analytics is being used on all pages, only need to call it once at root level.

Consider using dynamic import to load it because it shouldn't be required for any initial loads

Add Navbar and Footer to 404 error pages

Dynamic routes

Currently, navigating to coindrop.to/some-coindrop-that-doesnt-exist matches the PublicPiggybankPage (Coindrop page) route and because there is no matching Coindrop, "This Coindrop does not exist" is conditionally rendered.

The main thing is we want <Navbar> and <Footer> to render in this case along with the "does not exist" message. This can be accomplished with the withDefaultLayout Higher-Order Component.

Essentially the 404 page for all dynamic routes needs to be handled manually.

Next.js 404 page

For non-dynamic routes, Next.js already renders a 404 page. Create a custom one that uses withDefaultLayout Higher-Order Component.

Reference: https://nextjs.org/docs/advanced-features/custom-error-page

How can I know someone has paid ? How to change bitcoin or crypto address automatically ?

Please correct me if I am wrong.

coindrop is basically a static kind of thing, that displays all payment methods.

Now is there a way to know who paid how much ? I believe that is the work of a payment processor. But can coindrop be integrated with the payment processor ?

Suppose, I lead people to my coindrop page, is there a way to collect their name , email and how much they paid via which method ?

I believe that is possible thru using API's of buymeacoffee or patreon or paypal ?

For addresses like bitcoin or upi it is not possible to verify without using a payment processor.

Any body who has my bitcoin address can see all transanctions for it in blockchain. So all payments I recieve will be visible. That is great for non profit organizations who want transparency. But I am planning to use coindrop page to accept payments for services. It would be great if I could generate 1000 addresses to my btc, and add upload the file to coindrop. Coindrop will display a new address whenever someone has paid to the old address.

This kind of address changing is availaible in any bitcoin wallet.

I dont know whether it is right to request these features. These will make coindrop into a complex thing. But @remjx please share your insights and thoughts about these.

thanks a ton.

New payment method: UPI ( Currently availaible in India only )

Payment method name: UPI (Unified Payment Interface)

Payment method website: http://cashlessindia.gov.in/upi.html

It is a payment protocol run by NPCI ( National Payments Corporation of India ). Many other countries are planning to use a fork of UPI.

This option will allow the user ( the one who wants to recieve money ) to add his/her UPI address. The person who wants to pay can use any app to pay to that address.

0% Transanction fees is the best thing about it.

UPI is just like email address. The person who wants to pay can use the app/service of their choice like Google Pay, Phone Pay, Paytm, WhatsApp pay etc. Every UPI address is connected with a bank account. There can be multiple addresses connected to one account.

Example of an UPI address : something@upi ( The extensions can be different )

Just like cryptocurrencies. There is an address that is connected to wallet. The person who wants to pay can choose any wallet app.

Sign up using email

Is your feature request related to a problem? Please describe.
As of right now, it is possible to login only with Google or Facebook. I have neither. It would be wonderful if an account could be created using an email

Describe the solution you'd like
Being able to use an email address to log in

Describe alternatives you've considered
/

Additional context
/

Create a dark mode version of the logo

The logo was made for a light background. It's passable in dark mode but could be optimized.

Ideas:

  • Remove black border around pig
  • Change the "clink sound" dots to white

[Dark Mode] Color of input required asterisks do not change based on colorMode

The red color of asterisk does not change based on ColorMode, compared to the Button on the same page whose red color gets lighter in Dark Mode.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a Coindrop
  2. Click on Configure
  3. Note color of asterisks in form
  4. Change color mode
  5. Repeat steps 2-3.

Expected behavior
Red asterisk color matches in Remove Image on the same page

Screenshots
image
image

QR code not working

Describe the bug
I recently generated a coindrop but the QR code is apparently not working

Screenshots
coindrop

Customizable transfer to any bank card

There are many different banks in the world and all of them are difficult to add. With this in mind, it would be great to implement a button "Transfer to bank card" which everyone can configure for their own bank.

Approximate implementation:
Name: Transfer to card "Name of the bank indicated by the user".
Contents: card number + free text line

Link to icon in .SVG format : https://mega.nz/file/OpJiwTYC#P7dTuGsE1t4y9NuWVd-YA0MKWLqgmNQDOdsXqseGguI
(I drew the attached icon myself, but based on the example of the first icon on the Internet)

Clean install without lockfile causes small width UI

Describe the bug
small container width on desktop
the issue seems to be somewhere between the _app wrapper and the container width is not being respected

To Reproduce
Steps to reproduce the behavior:

  1. rm yarn.lock
  2. yarn install
  3. yarn dev:local

Expected behavior
large container width on desktop

Screenshots
image

Documentation for self hosting

How to have a page with the ui of coindrop.to/user in my own site mydomain.com/donate ?

Is there a way to write the payment methods in a config file and then general a static html file, that looks like coindrop.to/user that i can add to my own site ?

The QR Code for UPI does not work.

this is related to #268.

image

UPI has a different QR code system.

Just generating the QR code of the text address will not work.

I dont know how to generate UPI QR codes. But mobile apps that support UPI, can generate a QR to receive payments.

Users of coindrop can upload that QR code.

Fully detailed analytics

It would be great to have analytics. But without any creepy js. Many people like me use blockers like ublock origin ( it blocks even google analytics )

I would love server side analytics. Whenever the page is requested, the public IP goes to the server. The server side may determine the visitors location based on IP.

Also would love to know the number of visitors to my coindrop page, and graphs. It would be great to know who clicked on which button.

New payment method: Joompay

Payment method name: Joompay

Payment method website: https://joompay.com/

Link to icon in .SVG format (if available): N/A

More Information:
Joompay is basically an alternative for europeans to cashapp.
You get an paytag which other joompay users can use to send you money or you can also get a paylink which has the following format:
https://pay.joompay.com/(paytag)
Which let's anybody donate to you via google pay and debit/credit card without an account while also offering an QR code for existing Joompay users

Cypress tests have data conflicts when multiple CI runs are happening simultaneously

in CI, there can be conflicts when multiple PRs are running Cypress Github Actions at the same time because they are using the same Firebase dev environment and the same Coindrop IDs for each test.

One workaround is to use Github action meta data (e.g. commit hash) from actions/checkout-v2 to set an ENV var, and include the ENV var in the test Coindrop ID. Potentially use https://github.com/FranzDiebold/github-env-vars-action or https://github.com/rlespinasse/github-slug-action

Notes

  • Use after / afterAll hook to clean up the created coindrops

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.