hermanmartinus / bearblog Goto Github PK
View Code? Open in Web Editor NEWFree, no-nonsense, super fast blogging.
License: MIT License
Free, no-nonsense, super fast blogging.
License: MIT License
In case someone writes non sequitur occasionally.
On https://herman.bearblog.dev/ there is a link to "Projects" in between "Home" and "Blog". How do you get that?
Hi! I really love this project. Thank you for making this.
I just wanted to say it would be nice to have tags o categories
Hey - is it possible to submit a new post programmatically - e.g. via a CURL command? Or maybe there is an API available?
@HermanMartinus , It would nice to have option to export post in Markdown or text format as well
If page/post has line breaks in content, they are included in microdata json as unescaped line breaks. JSON does not support multi line strings.
Example: https://karlerss.com/
The published date is always set to the current datetime on create even if not left empty:
https://github.com/HermanMartinus/bearblog/blob/master/blogs/dashboard_views.py#L89
All of my content have disappeared twice. First using the subdomain https and afterwards with the subdomain account.
Is this a bear and mouse game? :)
And fail gracefully
If I for example were to fix a typo in a blog post I wouldn't expect the date of the post to update and the list of blog posts to be rearranged.
Maybe instead just not show the update date at all and let the author add an "edited" section in the post manually if needed. Or have a separate "updated at" somewhere, but that seems overkill in my opinion.
Hey Herman!
Loving bearblog so far. I was wondering if adding an optional table of contents has crossed your mind, especially for longer blog posts (I just wrote a fairly long one).
Another suggestion I have would be to make the headings in the blog linkable. I wonder if I can do that myself though, if I make the heading content itself a link, like:
## [Hello World](#hello-world)
So that we can link readers directly to a section of the blog post.
EDIT: I'm not sure if you're accepting contributions yet, but adding a CONTRIB.MD or similar (contribution guidelines) for people like myself may be helpful just in case we can add some features in a fork.
Thank you for your great effort.
Is code highlighting conflict with this project's philosophy? I'm confused because it requires heavy stylesheet. But it's very useful to have.
Is the dashboard down? I can open my blog but can't open the dashboard
We are techies, after all ๐
I noticed that Latex support is currently under consideration in the roadmap.
I wondered if this would involve incorporating a third-party library like KaTex if it fits the speed threshold. Maybe it could be something the user enables or not to determine if it should even be loaded.
WDYT ? I'd be to help out with it :)
Hi!
I would like to self-host this type of blog, giving the proper credit to the developer, of course. It's possible?
I would like to see some brief instructions of how to do it.
Thanks a lot!
First, I'd like to say thanks for this project. This is exactly the kind of lightweight, easy solution I'm looking for.
Unfortunately, I went to submit my first post and could not! Here's the error I'm seeing in the console:
An invalid form control with name='content' is not focusable.
Stack Overflow says this is because an unfocusable input is failing form validation, and the error message suggests that it's the actual blog post that's failing validation, but I don't see any validation there besides required
.
Hi,
I like your project, and I think it's great you're running a service like this. Please consider adding RSS, Atom, or JSON Feed support -- it makes it easier for people to follow blogs, and it can cut down on bandwidth since popular readers like Feedly can serve tons of subscribers on your behalf.
I think it should work fine to use your existing templating system, just creating a feed template and adding a link rel='alternate' would be enough to get you going.
What do you think?
The timestamps on the newest discovery feed seem to be off. When I post an entry and view it on the feed, it says it was posted 17 hours, 45 minutes ago when it was actually posted moments ago.
Hello,
Excellent project/idea. Thank you!
It would be nice to have a "Preview" button/view, so we can see how our posts will look with markdown before they get published.
I can already see myself clearing CloudFlare cache because I find a mistake after I already published a post :)
It is possible to perform xss in both the home page and the blogs, and likely anywhere where you can enter markdown. This is the payload I used, but there are probably others that work aswell:
![](x"onerror="alert('1'))
Hi - I found Bear via Hacker News. I have played with it a bit and am really enjoying it. I am exploring migrating a blog currently on Ghost to it but would like to preserve the existing post publication dates. Any chance of exposing initially setting and/or editing of this field in the dashboard?
DETAIL: Key (subdomain)=(testblog) already exists.
or
IntegrityError at /dashboard/
duplicate key value violates unique constraint "blogs_blog_slug_key"
DETAIL: Key (subdomain)=(k) already exists.
I think there is a bug. If a go to https://bearblog.dev/dashboard/posts/3/ I can see the content of the post and save it in my account.
Access to the editor page of posts that aren't mine should be restricted.
Is there any way to disable markdown and just write in plain text (or html)?
Hi!
I saw your project on hacker news and ended up here to check out the project!
There isn't/I couldn't find any license for this repo as a whole, only what seems to be licenses for the project dependencies.
Would you consider adding some?
Thanks :)
Hi,
Currently the favicon inputbox has a maxlength="2".
But many emoji's have a length of 4.
The female shrug ๐คทโโ๏ธ works while the male shrug ๐คทโโ๏ธ does not.
I gave up on understanding emojis and unicode some time ago.
I like this feature of fastpages. It would be great to see this feature in BearBlog.
https://fastpages.fast.ai/fastpages/jupyter/2020/02/21/introducing-fastpages.html#Boxes-/-Callouts
What I did:
Edit: Actually, after adding a second post the old #code tag went away. I'm not sure if there's an issue that's worth fixing or not here so I'll leave this up and let you decide.
i like that we have the option to publish a post as either a page or a blog post, but I'd love to have an option to post it as neither so that the post is only reachable through its link.
for example I'll have a page called "error logs", and publish posts that are error logs and I don't want there pages showing up in my blog tab.
Sorry if there's already a way to do it but I couldn't figure out.
Hi
I think that integrating this project could help make pages look more nicer.
Especially sign up page
It seems like it would be good for SEO and navigating browser tabs by including the post title in the <title>
of the page.
Maybe post.title + " | " + blog.title
so it would end up being eg. The Hacker News Hug | แ( แ )แ Herman's blog
.
This should probably be a thing for all pages, not just post pages.
Hi @HermanMartinus ,
I was planning to write a personnel blog which is very clean and focusing on content. I saw you made it already :). I really liked BearBlog. But when I tried on my local machine, I need to create an account and should validate it with SendGrid. Maybe we can add a personnel blog flag to disable features like that? So people can deploy BearBlog on their cloud.
Thanks
I have removed hashtag linking as it was causing too many unwanted links from being created. Eg:
#fffff
https://example.com/post/#section
[Section link title](#section-link)
I have added a separate input for tags on each post. Please move your category tags to this.
Sorry for the inconvenience ๐
Hey, awesome project! Have you considered adding some basic stats on page views for individual posts and such? I love the idea of not tracking folks, but some basic low-level stats would be awesome just to be able to tell which posts are popular.
This is a fairly common use case: I have an image locally and want to include it in my blog post.
Do you have any plans to support that? eg uploading to S3. Or at least offer some guidance in the editor?
Great project!
I noticed when someone tried to use Bear with Micro.blog that Bear's feed has a few problems:
id
should be a URL.link
is also not a valid URL (missing "http"), and it's pointing to /feed instead of the actual permalink for the blog post.updated
date keeps changing when a feed is requested. It doesn't look like it's actually the date/time that the blog post was published.Happy to help if you have any questions or need someone else to test.
According to the documentation for custom domains, there should be an option to specify a custom domain but I am not seeing this option:
Would it be non-trivial to implement?
My titles for a new blog post are being rejected with the error message: "Enter a valid โslugโ consisting of letters, numbers, underscores or hyphens."
My titles are nothing out of the ordinary. They only contain letters, numbers, and hyphens. I've tried various lengths to no avail. Any hints as to what might solve this?
I just went on the /feed page of my blog, and saw my email there. Can we have an option for this to be anonymous? Or does that already exist?
When I go from a page that doesn't overflow the page vertically to one that does, the appearence of the scrollbar shifts everything on the page a bit to the left.
You might want to take a look at this stackoverflow discussion.
Can we please see the title of the blog and post date on the feed?
I am trying to point my custom subdomain bear.hyprtxt.dev for my blog at hyprtxt.bearblog.dev. My Hyprtxt.dev DNS is at Cloudflare. I am getting an error 1014 from Cloudflare.
https://hyprtxt.bearblog.dev/
https://bear.hyprtxt.dev/
Perhaps something to do with SSL? I am not quite sure. Love it so far!
Nice project! Is there any chance you'd consider adding <link rel="alternate" type="application/rss+xml">
tags to the <head>
of Bearblogs, so feeds can be discovered programmatically? As it is, they are effectively a secret/hidden feature - I actually initially assumed (to my great disappointment!) that there were no feeds because of the lack of a <link>
for them. I had to search through closed issues to find the /feed
URL convention.
This is exactly what I've been looking for nearly a year now. It is so brilliant, simple, and just everything.
There is one issue I had, running NVDA, the free and Open source screen reader.
The date picker traps the screen reader in that area. Would it be possible to make the months, a Combo box, and the day and year, a simple edit box?
Or you could have a radio button that says, post now or later? And if Later is selected, then the calendar options pop out.
Thank you for developing this. This is really great.
The name has 3 annoying bullets in it, but I can live with that. :)
Let us add canonical URLs to our posts to link back to our sites. Maybe add a link to the posts, "view original", or something like that for these cases.
Having a favicon, possibly a minimized version of the bear, would neat IMO. It makes bookmarks more distinguishable and browser tabs more uniform.
By the way, great idea and execution!
I try to create a new post, add title, content, click Save and when I go to Posts I see... nothing.
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.