Code Monkey home page Code Monkey logo

saythanks.io's Introduction

☼ The 'Say Thanks' Project

saythanks

Spreading Thankfulness in Open Source™

saythanks.io will provide a button/link for use by open source projects, to encourage users to send a simple thank you note to the creator (or creators) of that project.

This simple button/link can be added to READMEs and project documentation.

The author can then enjoy a nice inbox (ideally) filled with very small, thoughtful messages from the happy users of the software they enjoy to toil over.

Implementation Concepts

☤ The Basics

  • Email when a new message of thankfulness is submitted (csrf enabled).
  • Inbox page for each user/project with simple aggregation of messages (private).

☤ The Architecture

  • Flask for API and Frontend, single application
  • Auth0 for credential storage (done, Auth2 in progress)
  • Heroku for Hosting (done!)
  • CloudFlare for SSL termination (done!)
  • GitHub account creation, as well as password-less email accounts

Intended Collaborators

  • Erin "The X" O'Connell (Python)
  • Tom "The Pythonist" Baker (Javascript)
  • Tom "Sea of Clouds" Matthews (Logo and Graphic Design)
  • Kenneth "Your Name Here Instead, Idan?" Reitz (Frontend Design)

Random Inspirational Links

Initial Setup for Development

saythanks.io's People

Contributors

csurfer avatar deepakchakravarthy avatar deepsource-autofix[bot] avatar deepsourcebot avatar deepthi-deepu avatar dependabot[bot] avatar dinesh131 avatar erinxocon avatar frankgeerlings avatar glasnt avatar kennethreitz avatar kgashok avatar marudhu2004 avatar mreddyn avatar muety avatar nedbat avatar nkantar avatar pavithratr1603 avatar pavithratrdev avatar pdurbin avatar professor-sathish avatar ramkumarmrj avatar sangeetha2425 avatar sathasivamthirumoorthi avatar suveksha25 avatar tarunkumark avatar timoffey avatar tushar5526 avatar waseem18 avatar wong2 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  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

saythanks.io's Issues

[offtopic] Corner ribbon

Hi, guys!..:)

Great idea, for the web page @https://saythanks.io/

It's nice, except there's an unexpected element, the corner ribbon isn't done with some nice JavaScript, or something; this is the page code, currently:

<a href="https://github.com/kennethreitz/saythanks.io"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>

... Which seems to be very lazy (to say the least, hehe); and, more importantly, it (kinda?) raises the question: what else is done is such a fashion? :-o

It's not that big of a deal (these days!), code has been around forever; a couple of -possible- queries @

https://www.startpage.com/do/dsearch?query=javascript+web+page+corner+ribbon
https://www.google.com/search?q=javascript+web+page+corner+ribbon

Right?.. Not trying to spam, just sayin'

Thanks!! :))

[feature request] integrated shields.io badge customization

saythanks

I'm jealous of this pink badge. For convenience, it'd be nice to have a small widget on the inbox page to make it easier to customize the shields.io badge.

Is this something you would like to have? If so, I wish to help with implementation.

[🐛] Internal Server Error While Exporting CSV

I found a minor bug while you export CSV

Step to reproduce

  1. Create a new account which don't have any thanks message without default one
  2. Scroll down you will see Export your inbox! CSV .
  3. Click on CSV for download

Tada! 🥳 You will get error message Internal Server Error

Hopefully it will fix soon.Let me know if you have any questions.

Thanks,
Rudra Sarkar
Security Researcher

Logout

Please add a logout link to the inbox

Thank note falling in spam

Hey thanks for the amazing project.

Just a small warning, I got a thank note today and the mail I received ended up in the spam.

[feature request] Allow for user quotes / testimonials

Beyond saying thank you, it is often useful to have users send in quotes or testimonials about their experience using a package. Maybe have a user option that says this is a thank you or a user quote. For quotes, allow for a longer message.

Add localized versions?

To be more accessible to users who do not speak english it would be cool to have translated versions of the pages (and the button).

Is there a chance of a PR providing a german translation to be accepted?

Why does authentication need so much access?

I was signing back up for saythanks after it had been down, but the authentication access that it asks for seems a bit extreme imo:
image

I would imagine all it really needs is the personal info, not all the admin access stuff.

Moving 'Manage your inbox' section to new page

It would be better if Manage your Inbox: section is move to a different page.

A settings icon will be placed at the right end of row Welcome, Email row which would take the users to the above mentioned page.

This would make the index page look clean.

sqlalchemy.exc.IntegrityError on logging in with Github

I have changed the primary email address of my Github account. After logging in to saythanks.io the following error was displayed.

sqlalchemy.exc.IntegrityError: (psycopg2.IntegrityError) duplicate key value violates unique constraint "inboxes_pk" DETAIL: Key (auth_id)=(github|xxxxxxx) already exists. [SQL: 'INSERT into inboxes (slug, auth_id) VALUES (%(slug)s, %(auth_id)s)'] [parameters: {'slug': '[email protected]', 'auth_id': 'github|xxxxxxxx'}]

You may not want to publicly report this type of error. How can the account be deleted so that a new registration is possible?

Add project-specific parameter

First of all, thanks for this project! I got a feature request. It would be great if you could distinguish between multiple projects in SayThanks. If you have multiple projects with the badge included, this would help to know which specific project a user has thanked for. Could be realized with a simple URL query parameter.

Add support for small-only attachments?

A little thumbnail, a signature or maybe a . gif or e-card?
Or is it okay if it stays on just like an inline link?
I'm only proposing diversity, for it's the most attractive attribute😄

Add markdown for easy integration

Hi,

thanks for this nice initiative.

Would be great to have code to copy/paste for an easy integration into our READMEs, or at least an easy tutorial to explain that we can use Shields.io (http://shields.io/ part "Your badge") to do this :

(https://img.shields.io/badge/say-thanks-ff69b4.svg)

We only have this right now in the private part
image

Find a designer

It seems like some design could go a long way for this project. Like, style the input to look like you're writing a thank you card. The Creative Mornings crowd would eat it up!

Add github organization integration

Thanks for creating this awesome project!

Could you please add the ability to create a saythanks url for an organization when I sign up with GitHub?

Rename account / change username

Changing usernames would be a nice feature to have. In my case, I'm consolidating all my online accounts into one names, so I'd love to rename that one too. 🙂

[FeatureRequest] Add attribution to thank you messages

Developers usually add the SayThanks badge to their Websites and Github projects. Not all messages specify what they are thankful for. If the badges can be created with attribution topics say on the lines of

saythanks.io/to/<user>/<topic>

where the topic can be set to project name or website address or whatever, attributing the thanks to a pertinent endpoint becomes easy.

Suggest adding a Badge on README

Hi, how about some instructions for adding a nice-looking badge on the project's README. Many projects already use badges for CI-build status, version-info and the like, and I guess adding a saythanks badge would increase the chance of users doing click on it.

saythanks

[![saythanks](https://img.shields.io/badge/say-thanks-ff69b4.svg)](https://saythanks.io/to/kennethreitz)

Delete account

Users should be able to delete their account from the interface.

Don't escape <br> tags in notification mail

<br> tags are escaped in the text/html section. Mails look like this:

Dear n1try <br>Thank you <br>can u provide me source code of youtube video. <br>my email is ???. <br>Thanks again

--John Doe

According source code looks like this:

<html><body>
<p>Dear n1try &lt;br&gt;Thank you &lt;br&gt;can u provide me source code of=
 youtube video. &lt;br&gt;my email is ???. &lt;br&=
gt;Thanks again</p>
<p>--John Doe</p>
<p>=3D=3D=3D=3D=3D=3D=3D=3D=3D</p>
<p>This note of thanks was brought to you by SayThanks.io.</p>
<p>A Kenneth Reitz ([email protected]) project.</p>

Additionally, the text/plain version shouldn't contain HTML tags at all, but it does.

Dear n1try <br>Thank you <br>can u provide me source code of youtube video.=
 <br>my email is ???. <br>Thanks again

-- John Doe

[Feature request]Customize username for those who sign in with github OAuth

Thank you for your honorable work and convenient login through github OA, but I found the title for my page was "Send a Thank You note to 1MLightyears!"

............

Well that's gonna be somewhat embarrasing, for I used to introduce myself to my customers as Lightyears (instead of 1MLightyears). This mistake took place when I signed up github and found "Lightyears" has been occupied, so a compromise was made.

This time, at least at saythanks.io, I wish my username be shown as I want (a correct avatar with a not-so-correct username is quite embarrasing).

So I really need the feature of customize username! Thank you in advance!

Security issue

My browser reports an invalid certificate while authenticating via Github.

Internationalization?

Please consider adding (an option to add) translations. I could translate the texts to German and I know a little bit French.

Public inbox and thanks per project ?

Hi again,

could be nice to open our inbox for public thanks on a project ? We are not always alone on a project and I think thanks is for every contributors.

Also, could be nice to split thanks by projects in one account, I don't want to create an account for each projects.

And we could have a counter in the badge too, could be a motivation for people to use the thanks button ;)

Logo Proposal

Hello sir, I'm a graphic designer and I would love to contribute to your project with a logo. This is completely free, take it as a contribution. In case you agree I would be presenting sketches and you will be choosing/modifying the aspects you like more so we could work on the perfect logo for your project together.

Let me know what do you think? best regards :)

[feature request] Multiple emails without creating an organization

Hi,

Thanks for this nice initiative!
With a couple of friends, I am working on a side project and I would like to integrate saythanks to its README. The issue, is that the messages will only be sent to one of the collaborators, so I was wondering if it would be possible to add support for multiple emails or github accounts linked to one single thanks button, without having to create an organization?

I guess that in those situations, it wouldn't be "Send a Thank You note to kennethreitz!" but something like "Send a Thank You note to 's contributors!". Maybe the webpage could also print out the names of the contributors.

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.