google / devlibrary Goto Github PK
View Code? Open in Web Editor NEWSource code for Google Dev Library
Home Page: https://devlibrary.withgoogle.com
License: Apache License 2.0
Source code for Google Dev Library
Home Page: https://devlibrary.withgoogle.com
License: Apache License 2.0
For ML:
For the official documentation link, if you can add multiple link, then please add the following
: https://www.tensorflow.org/
: https://cloud.google.com/products/ai
: https://developers.google.com/ml-kit
If you can add only one link, then
: https://ai.google/tools/
This project has no license, yet is listed on our site:
https://github.com/flamelink/flamelink-js-sdk
https://devlibrary.withgoogle.com/products/firebase/repos/flamelink-flamelink-js-sdk
It should not have made it on there.
GitHub repositories right now always show the name / photo of the GitHub owner. We should show the DevLibrary author when we have that information and allow clicking through from the card to their profile.
This will require inlining some author information (at least name) into the RepoData
objects in the database so that this can be done efficiently. Right now we only have authorIds: []
which is enough to link but not enough to display.
Blog cards already have this feature.
Throwing internal error, so need to look into if the URL is wrong or not
Low-priority
Some repos, like the one below, use licenses that we could accept but GitHub doesn't recognize. We could add a boolean field to our config that overrides the license check.
Since we don't host blogs on the site we need to know how many clicks there are.
Only need to run the build
one if there are changes in app
, functions
, or shared
Right now we use the author ID as the file name and our config scripts use file existence to check for author existence. However the issue here is that the macOS file system is case insensitive while the author lookup system (via Firestore) is case sensitive.
This mismatch can only really be resolved by forcing lowercase IDs.
9/10 times this is what we want, and it's easy to forget.
I am opening this as a follow-up to radi-cho/tfjs-firebase#21.
The required license is now added to my project https://github.com/radi-cho/tfjs-firebase.
Similar to #78 but for project IDs not author IDs.
We should get an alert if:
README
for a projectLICENSE
for a projectRight now things mostly fail silently.
A license file was added to the Angular Dockerize so it can be added back to the dev library
Not sure if it is a bug or a feature, but here it is.
STR:
AR: "LOAD MORE" button is not displayed
ER: "LOAD MORE" button is displayed and works
There is definitely more then one page of the data, please see the attached video.
cc @almo
Most of the Github readme's are written in pure markdown or with some inline html. Devlibrary has some problems rendering this correctly for example this in my readme on Github vs on devlibrary
Right now we only delete from Firestore
A lot of feedback in V1 revolved around how users will sort out by content in specific languages, so in order to incorporate this, we need to:
We want to update the repo if there has been any change on their side OR on our side.
We should generate a sitemap so that we have better SEO
Right now the filters only show up on Desktop because they're in the sidebar
In general in our layouts with a sidebar and a header we want the sidebar to remain fixed and let the body scroll to prevent things jumping and keep the sidebar accessible.
Today on the homepage I noticed this entry:
When I clicked through I got a 404. Diagnosing the repo shows that it's a license issue:
$ npm run diagnoserepo ../config/android/repos/mmarashan-google-billingclient-wrapper.json
> [email protected] diagnoserepo /Users/samstern/Projects/ugc.dev/shared
> ts-node ./scripts/diagnoserepo.ts "../config/android/repos/mmarashan-google-billingclient-wrapper.json"
Repo: https://github.com/mmarashan/google-billingclient-wrapper
❌ Error: mmarashan/google-billingclient-wrapper does not have a license.
✅ Valid content README.md
So this repo should have been deleted!
We should continuously deploy from source every 24-48h
We should check if everything in tags
is a valid tag for the product.
TODO:
See:
https://devlibrary.withgoogle.com/products/ml/repos/yogeshhk-MidcurveNN
It has no license so it shouldn't be in search, but it is!
For example, the README for this repo https://devlibrary.withgoogle.com/products/android/repos/avidraghav-SpaceFlightNewsApp is not displaying properly!
I think the site SEO will be pretty bad as-is. We should move to Nuxt.js to statically generate as much as we can.
This will also let us add OpenGraph meta
tags which will help us do better with social sharing.
I submitted the project AestheticDialogs but it is not visible on the site.
Make it easy for people to suggest edits to our configs
Hey, I added the MIT License to my project as @samtstern mentioned in Yash-Garg/FlutSplash#7 (comment).
Sorry for the inconvenience, I don't know how I missed adding License!
Once they are available (soon!) we should set minInstances
on the proxy functions to avoid slow loads.
Searching for ridedott shows this result, which does not exist:
The repo was renamed here:
4535f56
Dear Sir @samtstern
Link to the main issue: jmrchelani/flutter_portfolio#2
LICENSE (MIT) has been added, would like this repo to be added, Thanks.
i can change google future
GitHub's rate limit is 5000 requests per hour:
https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting
As of this writing we have 359 repos on the site
$ find config -type f -path "*repo*" -name "*.json" | wc -l
359
So we can afford to make 13 API calls per repository per hour at our current rate.
For each repo we do the following API requests on refresh:
So let's round to 5 API calls per repo. That means we can only afford to grow to 1000 repos currently.
We need to do something to reduce the API calls per repo to increase our headroom (mostly fixed in #274)
We should find a way to schedule the repo refreshes to be more spread out over time to not hit the API limit.
We need to make sure that for authorIds: ['foo']
there is config/authors/foo.json
This way we stop adding .json
files for GitHub repos with an improper license.
When there is a link inside a button, the padding is not clickable and the touch target is too small.
I ran the following script to find all existing content issues:
$ find ../config -path "*repos*" -name "*.json" | xargs -n 1 npm run diagnoserepo | grep Error
Here are the results:
No License (13)
❌ Error: ng-girls/todo-list-tutorial does not have a license.
❌ Error: DmitryEfimenko/ng-expandable-input does not have a license.
❌ Error: alkaj/spa-dockerize does not have a license.
❌ Error: Yash-Garg/FlutSplash does not have a license.
❌ Error: gihan667/flutter-login-ui does not have a license.
❌ Error: jmrchelani/flutter_portfolio does not have a license.
❌ Error: gboliknow/game_ui does not have a license.
❌ Error: radi-cho/tfjs-firebase does not have a license.
❌ Error: devskope/apollo-firesource does not have a license.
❌ Error: akauppi/firebase-ci-builder does not have a license.
❌ Error: kennysong/adversarial.js does not have a license.
❌ Error: mmarashan/google-billingclient-wrapper does not have a license.
❌ Error: Shivamdhuria/flows_guide does not have a license.
Bad License (10)
❌ Error: GeOsmFamily/geosm-frontend-final has invalid license type: gpl-3.0
❌ Error: PatrickJS/awesome-angular has invalid license type: cc0-1.0
❌ Error: ionicfirebaseapp/getwidget has invalid license type: other
❌ Error: jayeshpansheriya/awesome_extensions has invalid license type: bsd-3-clause
❌ Error: fluttercommunity/plus_plugins has invalid license type: bsd-3-clause
❌ Error: sgr-ksmt/Lobster has invalid license type: bsd-3-clause
❌ Error: FirebaseExtended/flutterfire has invalid license type: bsd-3-clause
❌ Error: sgarciac/fuego has invalid license type: gpl-3.0
❌ Error: SamuelMarks/ml-params has invalid license type: other
❌ Error: KaustubhPatange/Gear-VPN has invalid license type: gpl-3.0
Other (3)
❌ Error: alkaj/spa-dockerize has no content path README.md
❌ Error: CorneilleEdi/sweetsheet has no content path READEME.md
❌ Error: SuyashSonawane/AI-Dancer has no content path README.md
So I need to take the following actions:
Some pages use github emoji :foo:
and don't render well
Example:
https://devlibrary.withgoogle.com/products/firebase/repos/GodotNuts-GodotFirebase
Angular team would link to link out to social
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.