terales / socatar Goto Github PK
View Code? Open in Web Editor NEWWeb service for easily getting profile photos from several sources
Home Page: https://socatar.com
License: MIT License
Web service for easily getting profile photos from several sources
Home Page: https://socatar.com
License: MIT License
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
package.json
files was updated to the new Node.js versionIf you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didn’t already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Right now in several sources, we are passing query string which is not encoded. This may cause troubles with proxies.
I'm stuck because of it with releasing the managed tier: #62
Right now we are testing directly against running server, but to get a good coverage we need to separate app
from actual starting script:
https://stackoverflow.com/a/32959559/1363799
http://www.albertgao.xyz/2017/05/24/how-to-test-expressjs-with-jest-and-supertest/
See an example #53
When I am opening https://socatar.com/github/yegor256 it just loads for ~1 minute and then times out. I don't see a picture.
Use technique as used in this service: https://findmyfbid.com/
<meta property="al:android:url" content="fb://profile/100001584476227" />
in html stream (with mscdex/streamsearch suggested in SO)Google+ APIs have been shut down as of March 7, 2019.
© https://developers.google.com/+/api-shutdown
There is no use of the source, so I'll just deprecate it.
Question about service to advertise service:
https://stackoverflow.com/questions/9128700/getting-google-profile-picture-url-with-user-id
Contact them to make my service as their recommended backend implementation:
https://www.sitebase.be/react-avatar/
Try this one: https://socatar.com/github/artipie
Would be nice to have an ability to see organizations too.
I'm trying this:
$ curl -I https://socatar.com/github/yegor256/192-192
HTTP/2 302
date: Mon, 12 Feb 2018 13:44:10 GMT
content-type: text/plain; charset=utf-8
content-length: 189
set-cookie: __cfduid=d00dd786735697103fe864aace277bcc31518443050; expires=Tue, 12-Feb-19 13:44:10 GMT; path=/; domain=.socatar.com; HttpOnly; Secure
x-powered-by: Express
cache-control: public, max-age=31536000
location: http://res.cloudinary.com/hah9f7pyw/image/fetch/s--xAB3vnmu--/c_thumb,d_fallback.svg,f_auto,g_faces,h_192,w_192/https://avatars3.githubusercontent.com/u/526301%3Fv%3D4
vary: Accept
via: 1.1 vegur
cf-cache-status: HIT
expires: Tue, 12 Feb 2019 13:44:10 GMT
strict-transport-security: max-age=15552000; includeSubDomains; preload
x-content-type-options: nosniff
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server: cloudflare
cf-ray: 3ebffb277ee397b0-FRA
It redirects me to http://res.cloudinary.com/hah9f7pyw/image/...
The https
part is replaced with http
. It is wrong, I believe.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | codacy-coverage |
|
npm | raven |
|
npm | request |
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
package.json
cloudinary 1.26.0
dotenv 10.0.0
express 4.17.1
lodash.get 4.4.2
lodash.set 4.3.2
raven 2.6.4
request 2.88.2
streamsearch 0.1.2
ava 3.15.0
codacy-coverage 3.4.0
coveralls 3.1.0
nodemon 2.0.7
nyc 15.1.0
rimraf 3.0.2
standard 16.0.3
supertest 6.1.3
node 14.17.x
.travis.yml
node 12.13
Current framework, Tacit, has some troubles with displaying page on mobile:
I love another framework how look and feel:
https://igoradamenko.github.io/awsm.css/
I love the renovate's approach to configuration and automerge: https://github.com/apps/renovate
For example, for me it's totally fine to update dependencies if new version passes all test cases.
Blocked from #4
When I visit socatar to get an image from twitter (https://socatar.com/twitter/filrfreire) or github (https://socatar.com/github/filfreire), I'm directed to the following page:
And no longer get a higher resolution image with the current URL being socatar.
/cc @terales
Use an icon as default placeholder:
https://thenounproject.com/term/user/17234/
Error in Opbeat: TypeError: sources[req.params.source] is not a function
Deepest call: src/middleware/getImageUrl.js in getImageUrl
As stated in the Code of conduct:
Publishing others' private information, such as a physical or electronic address, without explicit permission is an example of unacceptable behavior
To I want to ask if anybody could agree to share ANY of those and give project a permission to use profile photos in test cases and on the home page:
Try this one: https://socatar.com/facebook/user.is-absent/64-64
I expect it to be of 64x64 size. However, this is not the case.
THX 1138:
hm, email also works
http://picasaweb.google.com/data/entry/api/user/[email protected]?alt=json
"gphoto$thumbnail": {
"$t": "https://lh3.googleusercontent.com/-vdG30pndL54/AAAAAAAAAAA/AAAAAAAAAAA/zQ6wDeKubvI/s64-c/yegor256.jpg"
}
I want to support an another Open Source project. It has a business model witch inspires me,
Good example of implemented analytics:
https://github.com/Homebrew/brew/blob/bbed7246bc5c5b7acb8c1d427d10b43e090dfd39/docs/Analytics.md
Cloudflare caches 301/302 responses: https://support.cloudflare.com/hc/en-us/articles/200168326-Are-301-and-302-redirects-cached-by-Cloudflare-
I need to just set up an appropriate caching headers
If new code quality issues are introduced in Codebeat it just hangs instead of showing an error:
I want to see real quality check results in the GitHub UI and I want easy integration, so I'll check Code quality category from GitHub Marketplace. After filtering out services which offer free plan for open source two candidates left:
Codacy looks more promising for me, so let's start with it
I'm regularly facing issues with Travic CI errors like this:
df0612c6367f537c53cce7f0a37dcb5f35232b31 a075635500ff0ce3234cbc7d520ef26749d461d0 google/sample1.jpg
2730 2731 'google/sample1.jpg'
2ee2dae364f0abe93ab39e0f65a3e9fe71af5e03 aa9c99acd15af25c0a049e8e95231d57169e3a87 google/sample2.jpg
2394 2395 'google/sample2.jpg'
Images received by Travis CI for some reason are one byte different from samples I've saved from my local PC. I've tried ti fix it with AppVeyor's Windows machines, but it has the same results :(
I think we should compare images by their content, not as black box files even if it would take more memory and time. It's more important to have reliable test results that saving several seconds here and there
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.