Skip to main content

New Personal Website

Hello World, hello my blog again. I have good news, finally, I created my website, I do not know exactly what is the main goal for that and how it will be updated. Now I want to sync my current posts from the blogger platform and personal website, it can be easily done by using the `Blogger API` with some extra requirements which I want to have. 

 Especially, 

 - able to show/hide the post separately from blogger (1) 
 - use custom posts order (2) 
 - add some extra information besides tags (3) 
  For instance, technology stack, team size, etc.
- add a possibility to use any 3rd party code highlighter instead of post-computed HTML from blogger (4)
I think that the 4 the most required and nice feature
- able to sync manually, or use cron for syncing with blogger (5) 


 There is some initial schema of my application

 

This is a pretty simple solution: two go services, one for fetching data, checking referential integrity with own store, the second one will be used for wrapping raw posts with own configured information, like a show or hide the post, ordering or even replacing the code highlighter with other solution, etc. The fetcher service will be simple and configurable via env variables, I think it's enough. 

 Also, there are two pages: 

 Admin Page 
 - provides a possibility to sync manually data 
 - write posts configuration (as mentioned above show, hide, extra tags, order) 
 - remove posts 

 Regular posts page: 
 - just renders content 

 In the next post, I would like to tackle my deployment, as for now it looks ugly and I want to use Github Actions.


Comments

Popular posts from this blog

Some notes about transportation problem

Hello guys. After work I remembered my studying at university. My first thoughts is about solving Monge–Kantorovich transportation problem using a modification of simplex method known as Method of Potentials. Transportation theory investigates methods for optimal allocation resources among consumers and transportation them with minimum cost. For example, suppose we have some factories which provide materials and shops which consume it. (To be continued)

Університет нафти і газу

Всім привіт. Я поступив в національний технічний університет Нафти і Газу. Поступив на 2 курс, хоча мав б бути на третьому. Я дякую, за те, що поступив на другий курс на держ. форму. Але не все так просто. Потрібно перезаразувати години предметів, які вчили в універі на 1 і частково на 2 курсі, для того щоб без проблем перейти на 3 курс. На рахунок програмування, майже нічого нового немає. Хіба що будем вчити Java на на предметі "технологія розробки ПЗ". Ось і все, що я хотів написати. Всім удачі!

Давно не писав

Я давно нічого нового не писав в блог. Дата публікації останньої статті аж за 9 вересня 2010 року а на вулиці скоро 2014 рік. Пройшло більше ніж 3 роки, а чи багато змінилося за цих три роки? Ну я закінчив університет, влаштувався на роботу. Зараз хочу почати писати деякі статті в блог, здебільшого заради вивчення нових трендів у програмуванні і структуризації своїх знань, думаю блог якраз для цього призначений. В мене трохи наполеонівські плани по вивченню всяких технологій, але я думаю що зможу. В принципі зараз я поставив собі вектор це js (як і front-end так і back-end) і фінансова математика. Також я вирішив повністю змінити свій розпорядок дня. Тепер в мене буде підйом мінімум в 6.00, далі планую перенести на 5.00. Кожний день (буду старатися) писати в блог як ідуть успіхи. Наразі все.