xepozz / blogit Goto Github PK
View Code? Open in Web Editor NEWPersonal blog based on Github Pages and Github Issues.
License: Apache License 2.0
Personal blog based on Github Pages and Github Issues.
License: Apache License 2.0
We need cut
functionality that will show the first part of the post and hide the second part.
This is necessary so that people open posts and delve into them on a separated page, not on the page with the list of posts.
I think for the first time we can use just <hr>
tag as a delimiter.
It's easy to implement and won't affect original look (in github issue)
First part
***
Second part
First part
First part
Second part
Would be nice to have an ability write comments and other actions directly on the site.
I see this action plan:
There is experiment for using "cut" functionality.
On main page post must not be showed fully.
On main page you should see post before horizontal delimiter.
On view page you can see all of the post.
If you texts as described above then "cut" functionality works.
There is a long long description :)
Too long.
Need to implement internalisation with multiple languages.
Would be nice to have an ability to attach vote to a post.
I have an idea make vote based on emoji laugh, confused, heart, hooray, rocket, eyes
How to implement:
1.Whether or not a vote needs to be taken will be declared using comments.
2. The format of the comment will be as follows:
<!--
<vote>
{
{"emoji": "laugh", "label": "Option label 1"},
{"emoji": "confused", "label": "Option label 2"},
{"emoji": "heart", "label": "Option label 3"},
{"emoji": "hooray", "label": "Option label 4"},
{"emoji": "rocket", "label": "Option label 5"},
{"emoji": "eyes", "label": "Option label 6"}
}
</vote>
-->
This format is not available, because at now blogit uses already processed markdown format (completed html).
Also github markdown processor removes any comments or attributes.
3. After receiving the content of the post, comments should be removed from the view
4. The number of reactions can be obtained from a separate API method.
5. In the voting statistics, you need to display count of votes and the percentage
Artifacts:
Need to research this possibility.
Feature can be realized as in #5 using Issue Reactions as a counters of likes/dislikes
Need to cover each functionality with test.
Unit:
raw data
=> object
transformation
Acceptance:
I'm very happy ๐ธ
โ Hi there! โ๏ธ It's my (@xepozz) first post ๐ฅ
The blog is started.
At now posts may interpreter any markdown entities. We can see these in the next posts.
There is some highlighted snippets:
class User extends \UserInterface
{
private int $id;
}
const result = [].push('one').push('two');
console.log(result);
ps -aux | grep init > /dev/null
Stay likes, do reposts, click on bells and all links will be in the description ๐
See ya!
I early explain the main problem, see #11.
We need to handle this error with separated component that will contain:
authorization
module)Tech solution:
rate limits
error, that will redirect to error handling componentNeed to implement garbage collector for cached API requests.
Tech solution:
https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting
It says here ^ that Github has several limits:
I have several idea how to avoid the limits:
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.