Git Product home page Git Product logo

bearblog's People

Contributors

dependabot[bot] avatar divisionmax avatar elldritch avatar hermanmartinus avatar mbluelander avatar nrkirby avatar onsclom avatar rphlo avatar sirodoht avatar yannickfricke avatar yunruse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bearblog's Issues

Tags

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

New post via CURL?

Hey - is it possible to submit a new post programmatically - e.g. via a CURL command? Or maybe there is an API available?

Content dissapears

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? :)

Post date is updated on each save/update

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.

Suggestion: Table of Contents / Direct Links to Headings

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.

Code highlighting

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.

Bearblog down?

Is the dashboard down? I can open my blog but can't open the dashboard

Latex support

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 :)

It's possible to self-host this?

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!

Bug: unable to submit post

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.

RSS / Atom / JSON Feed support

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?

Timestamp on Discovery News Feed - Newest

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.

Posts: Preview

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 :)

XSS via markdown

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'))

Example with this in action

An option to set or edit post date?

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?

Matching subdomain error being thrown badly

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.

Add license

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 :)

favicon / emoji support limited

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.

Tags that aren't used by any posts don't get removed

What I did:

  • Start from scratch.
  • Create a blog post with a #code tag.
  • Delete that blog post.
  • The code tag is still there.

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.

option to not show post in blog posts

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.

Include post title in <title> tag

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.

Can we add Personnel Blogging mode ?

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

Hashtags aren't linking properly

I have removed hashtag linking as it was causing too many unwanted links from being created. Eg:

  • Colors #fffff
  • Urls with an id link https://example.com/post/#section
  • Internal links to a 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 ๐Ÿ‘Ž

Stats

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.

Image guidance

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!

Feed problems: permalink and date

I noticed when someone tried to use Bear with Micro.blog that Bear's feed has a few problems:

  • The id should be a URL.
  • The link is also not a valid URL (missing "http"), and it's pointing to /feed instead of the actual permalink for the blog post.
  • The 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.
  • The feeds also don't validate in: https://www.feedvalidator.org

Happy to help if you have any questions or need someone else to test.

User email visible in /feed

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?

RSS feed autodiscovery

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.

Date picker traps screen reader.

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. :)

Suggestion: Canonicals

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.

suggestion: favicon

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!

The new Post is not saved

I try to create a new post, add title, content, click Save and when I go to Posts I see... nothing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.