Giter VIP home page Giter VIP logo

bmat's Introduction

BMAT

A BookMarks App Thing!

This is a small web application that allows you to store and categorise your bookmarks.

Installation

You require virtualenv to be installed to set this up, this lives in the package python-virtualenv under Ubuntu.

Clone the repo:

git clone https://github.com/RossBrunton/BMAT.git bmat/

Create a virtualenv:

python3 -m venv .venv

Enter this directory:

cd bmat

Activate the virtualenv:

source .venv/bin/activate

Install Django and requests:

pip install -r requirements.txt

After this, rename settings_local.py.sample, to settings_locals.py, and give it a random secret key.

If you want to use MySQL, install mysqlclient as follows:

pip install mysqlclient

And then rename db.cnf.sample to db.cnf and fill in your database details.

If you want to use a sqlite file (or any of Django's database backends) uncomment and possibly edit the relevent section in settings_local.py.

Sync the database:

manage.py migrate

Create an account:

manage.py createsuperuser

Run the server (development only):

manage.py runserver

For production, set up as you normally would a Django project.

Super Interesting Legal Stuff

This is licensed under the MIT License, see COPYING.txt for details. Generally, you can do whatever you want with it. I'd appreciate it if you mentioned me, however.

bmat's People

Contributors

dependabot[bot] avatar rossbrunton avatar

Watchers

 avatar  avatar  avatar

bmat's Issues

Animation should cancel rather than stack

When you click the show/hide thing for things, it adds it to the stack, causing it to constantly shrink/expand. It should probably interrupt the animation and cause it to reverse rather than appending to a stack.

Better front page

It should sell the application, and make people want to use it! With screenshots and big text and stuff. Rather than what it is now.

Browser extension

A browser extension that allows you to tag things from the comfort of your own browser.

Error pages

We just use the default now, which are ugly. Need to set 404 and similar pages.

Coloured Tags don't work when adding implied tags

If I add a tag "Apples" to something with a colour selected, neither "Apples" n'or any implied tags (Like "fruit") are coloured.

Would recommend colouring them all if colour is local to that tag on that bookmark as opposed to it being applied entirely to that tag (separate options for those would be good, if not done), or at least for the non-implied tag.

Validate html page on import

When importing a html file as bookmarks, probably use JS to check that the file is valid, and maybe detect if you can do tag importing.

Apply the same tag to multiple things

You would click a button and a little checkbox appears next to all the things and an add tag form slides out. You can then check a number of things and then apply a tag to all of them.

Proper PIP package

I guess there might be a way to package the site up so it automatically pulls in dependencies and stuff. I should look into doing that rather than having instructions in the readme.

Tags spread across multiple lines

At the moment, tags always take up the full height. With a long title and a lot of tags, this looks ugly. Maybe if the title is long enough to spread over two lines, make two layers of tags as well.

Sort things

Things (i.e. Bookmarks and Tags should be sorteable), by name or add date.

Dark theme

Add a theme for those of us wanting to spare our eyes or feel like edgy teenagers.

Auto-close would be neat.

If I'm going down the list and adding tags individually, it'd be useful to have it so that "expanding" a bookmark closes other open ones.

Fairly niche, though.

Search Enhancements

Few minor enhancement requests:

  • Show how many results there are, at the top.
  • It seems sloooow to refresh. Make it virtual scroll?

Domain tagging

When you post a bookmark and it matches a specific pattern (domain?) it is automatically tagged with a given tag.

Tag folding

Allow joining two tags into a single tag.

For example "Game" and "Games"; remove the "Game" tag and tag everything with "Game" as "Games".

Live-changes would be nice.

E.g. If I change a tag's colour on the tag's page, the tag itself changes, but I need to reload to make the tag on the list of bookmarks change.

Search in URLs

If the search bar could also search URLs, that'd be useful, so I can tag everything from certain sites.

Spritesheet image

CSS allows you to combine many small image into a "sprite sheet", which I should really be doing with all the images.

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.