Doesn't seem to be much interest in this product. Might be too specific of an audience??
Still have the code, but servers have been removed.
I still love the concept, and hope Hashnode brings this feature out of beta. Being able to source your articles from markdown files in a git repo - without setting up your own hosting, or local dev environment for SSG - is pretty nice.
If you go to a blog, it'll show article previews - starting with the newest. This is based on the order articles are added to the database - oldest to newest (top/down). Then we reverse the array of articles to have the newest ones first.
It's taken a bit of time to get this page working. Previously, I wasn't storing article content in the database - it was in GitHub. Because of this, there didn't seem to be a good way to display articles on the front page of a blog.
Now, when you upload a new article to your repo, we parse the markdown, gather some data/content, and store a copy in our database.
This also saves API requests to GitHub. As an authenticated GitHub app, we are allowed 5,000 requests per hour per repo.
Since a copy of the content is now in the database, I can begin refactoring code to pull individual article requests from there too. Right now, when you go to an article (not the main blog page), it pulls the data from the cache if it can, then grabs it from GitHub.
Once this refactoring is complete, the only time we should be making a request to GitHub for content is when you add or update an article.
Deployed both the backend and frontend servers to the cloud.
I've quickly found out methods in a dev environment don't work in production. In my dev environment, everything was running locally on my laptop. In production, I have two servers - both have a public and private IP, but the backend server is only meant to be accessed by the frontend via the private IP. This isn't working for svelte components which make fetches to the backend.
Believe I'll need to setup sapper server routes for certain functions - which in turn, contact the backend.
There is now an npm package you can install globally, to help create your articles on Yemi.
Since coders and the like are used to the cli, we figured adding this would be a nice convenience method for creating new articles. Especially since we have several options for metadata which must exist at the top of the article's markdown file.
npm i -g @malynium/yemi
yemi article <article-name>
npx @malynium/yemi article <article-name>
The following options are now available:
primary and secondary theme colors. Paid??
several font options. You can choose separate fonts for your blog's title, subtitle, and body
define seo title, description and, if needed, a canonical url - for each article
support for multiple blogs. You choose a different branch for each one. May be a paid feature.
Things still in the works:
thinking about building an npm package, to easily create articles with the metadata shell already in place.
custom domains. May be a paid feature.
article header pic
the home page design for your blog
(rhymes with Jimmy)
You know your git workflow, and you wanna start blogging without any website setup. So we're building a platform where you can write with Markdown, from the comfort of your favorite coder editor.