- ๐โ Currently running Khmer Coders community.
- ๐ญ You can find me in DoTA 2.
- ๐ฑ Always learn something new.
invisal / khmercoders Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://khmercoders.vercel.app
Home Page: https://khmercoders.vercel.app
We can follow the Github setting design.
The left side menu should include two things:
You can design the mockup of those two pages. The implementation of this page will be in separated issues
https://khmer.codes/@invisal/my-experience-as-facebook-developer-circle-phnom-penh-lead-eq6yaq
If you check this one, the list does not have renderer. Look pretty ugly
The plugin is already added just need to implement an api to fetch metadata.
Docs:
https://github.com/editor-js/link
Package to fetch metadata:
https://www.npmjs.com/package/open-graph-scraper
https://www.npmjs.com/package/metadata-scraper
Add metadata for article. You can follow https://nextjs.org/docs/app/building-your-application/optimizing/metadata#dynamic-metadata
Since the animation stroke is white so when it is in light mode, it is as if it is not visible. This is the animation that we use
https://lottiefiles.com/animations/atomic-spin-nrdWvb4i5p
Something that can be useful:
If it is hard to change color based on the theme, we can consider generate two files with different code and change accordingly.
Since we want our blog url to be in this format https://khmer.codes/@username/article-slug-{article-id}
, the article id produces by nanoid is too lengthy. I propose we just do random 6 character of [0-9a-z]. It will produce 36^6 = 2176782336
possibilities.
Where to implement
https://github.com/invisal/khmercoders/blob/main/src/lib/db/schema/articles.ts#L12
Create empty page for blogs, events, and about.
/@username/slug-id
, currently its /@username/id
In the future , we will have multiple provider , we should refactor our database to accommodate those requirement
Convert the .ai logo to .svg and put it as logo for our top navigation
Create the landing page for blogger following the medium site. For example: https://medium.com/@uniqtech.
Regarding to infinite slow, to make thing simple, we don't need to implement infinite show. We can show Load more button. When click, it will load more articles.
Implementing upload API as the following:
/api/upload
user_uploads(user_id, filename, size, created_at)
. The size is the size of the file in byteuser_uploads
tableThe plugin is already added just need to implement the renderer block
Signup with an existing username displays an unknown error.
I'm not sure if the Signup page will be available in production. If it's not available in production we can just close this issue.
Currently our blog url is as following /@username/article-id
. Please do as the following format /@username/understanding-algorithm-a23112
. Where a23112
is the article id.
Design footer
When blog contains the image, it will use show JSON data instead of actually render the image. Please add the image rendering support.
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.