Coder Social home page Coder Social logo

raucao / webmarks Goto Github PK

View Code? Open in Web Editor NEW
74.0 9.0 10.0 5.86 MB

remoteStorage-enabled bookmarking app

Home Page: https://webmarks.5apps.com

License: Other

JavaScript 39.51% HTML 3.31% Handlebars 43.13% SCSS 14.05%
remotestorage ember javascript emberjs bookmarks-manager unhosted pwa spa

webmarks's Introduction

Webmarks

Webmarks is a bookmarking app, which lets you choose your server or provider for storing all data. It is a user-first, open-source alternative to proprietary, hosted bookmarking services like e.g. Delicious, Pinboard, et cetera. Learn more.

Every contribution and all feedback are much appreciated and will be responded to timely. The rest of this README concerns only developers and potential contributors. For general support requests, please open an issue.

Translations

The app is currently available in the following languages:

  • English
  • German
  • French

Webmarks will use your browser language settings to determine which language is shown.

Translating the app to a new language is simple:

  1. Copy a language folder in app/locales/ to a new one, using the two-letter ISO code of the language
  2. Edit app/locales/[language]/translations.js.
  3. If you want to test the translations, run the app locally (see below for instructions) and open it in a browser that is set to the language you added.

Development

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • npm test
  • ember test --server (recommended)

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Building

  • npm run build (development)
  • npm run build-prod (production)

Deploying

Build production branch and deploy to staging:

npm run deploy

Deploy current production branch to production:

npm run deploy-prod

Further Reading / Useful Links

webmarks's People

Contributors

dependabot[bot] avatar ebrahim-elgaml avatar galfert avatar gregkare avatar raucao 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webmarks's Issues

Improve search

Hello,

Could it be possible to search using several words ?
For example I search for "work", it gives me 30 links.
I then would like to enter space, then "servers", so that my list is shortened to the links containing both "work" and "servers".
Etc...

Many thanks ๐Ÿ‘

Ben

Set up deployment

We used to use grunt-build-control, but latest master is now using ember-cli, so the old deployment script doesn't work anymore.

Error when editing a bookmark

When I edit a bookmark, but don't change any of the tags, I get the following exception:

Uncaught TypeError: Object [object Array] has no method 'split' 

Auto focus

Hello,

Would be nice if "search" field could be auto-focused.
And when we click "+" to add a bookmark, would be nice to focus the first field (title).

Many thanks ๐Ÿ‘

Import from other places

Is there an easy way to import bookmarks from other places?

Or maybe there's a way to inject the data directly on remoteStorage, but what is the format the data is expected to have?

Problems building

Thought I'd try webmarks too, as you mention using it regularly but I'm having problems with setup when I get to npm install:

First error is:

bower ember-resolver#master                       error Path must be a string. Received [ '/tmp/mrh/bower/ember-resolver-6624-gupSb6',   [Function: _cleanupCallback] ]

Towards the end I also have:

System info:
Bower version: 1.2.8
Node version: 6.2.0
OS: Linux 3.16.0-4-amd64 x64

npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.2.0
npm ERR! npm  v3.8.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `bower install`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script 'bower install'.
...

I'm lost with this stuff. Any ideas?

Select text in search field

Hello,

This feature request follows #46.
Would be nice for the text (inside the search field) to be selected when the search field is focused.
So that we can then search for something else very quickly when we come back to the Webmarks page.

Many thx ๐Ÿ‘

Ben

Confirmation to delete

Hello,

Would be nice to have a confirmation request before deleting a bookmark.

Thank you !

Ben

Search of tag not functioning

No answer if I search a tag.
The console displays an error (see at the bottom)
Can You help me?
Thanks
Stefano from Italy

rs.on ready
webmarks-d361a083d843f6d2225cceb55d52a5a7.js:1:20491
rs.on connected
webmarks-d361a083d843f6d2225cceb55d52a5a7.js:1:20544
[storage] Writing tag list to localStorage ["50+50w","Aaron","Amazon","Calibre","DAC","DDNS","DNS","DVD","Domotica","Hole","LNR","Laharah","Libri","PM10","Peterlini","Pi","Python","Raspberry","Raspberry Pi","Raspi","Raspy","Sergio","Server","Swartz","Vimeo","accedere","accesso","acquisti","amplificatore","autore","biblioteca","bird","blocco","blog","bluetooth","book","books","calibre","catalogo","cd","cinema","comandi","control","controllo","copertina","copertine","debian","descrizione","diritto","disabilitare","documentazione","doppiaggio","download","ebay","editor","elegiant","film","find","forwarding","fusione fredda","giornali","gratis","hifi","informatico","inquinamento","lastampa","lettera22","libreria","libri","libro","limes","linux","ma video","manuale","meditazione","micromega","misurazione","naked","news","no-ip","noip","noleggio","notizie","online","panel","pannello","politica","polveri","port","porte","pubblicitร ","python","raspberry","raspi","raspy","rent","rivista","rocco","scheda","scienze","server","shopping","sinossi","software","sottili","spiritualitร ","stampa","streaming","temperatura","terminale","torino","touchpad","trovare","uccello","zeus"]
webmarks-d361a083d843f6d2225cceb55d52a5a7.js:1:21300
TypeError: n.title is undefined[Ulteriori informazioni]
webmarks-d361a083d843f6d2225cceb55d52a5a7.js:1:6664

Permalinks for searches/tags

it would be pretty neat to be able to share links to a subset of the stored bookmarks.
Meaning having a URL that directly filters the bookmarks for a certain tag. - for example: https://webmarks.5apps.com/[TAG]

I did not know how to implement it, so I am opening this issue. Maybe someone can give me some hints on how to implement that feature.

Open links in new tabs

Hello,

Would be nice if we could open links in new tabs by default.

Many thanks ๐Ÿ‘

Make Webmarks less active if not focused

Hi,

Even if in a background/hidden tab, so not focused, Webmarks regularly updates itself :

screen shot 2018-05-02 at 10 59 38

Thus making it a top energy consumer on a laptop.

Could it be possible to make it less active / not active while not focused ?

Thank you very much ๐Ÿ‘

Ben

Android version

remoteStorage.js now supports Cordova apps using an in-app browser window for the connect. It would be great to package Webmarks for Android and add the necessary functionality to make the native "share" feature work with it. Then you could save bookmarks from any other Android app directly to your remote storage.

Needs #25 and #8 at least.

Re-focus after click

Hello,

Search field is auto-focused, which is perfect, we just have to type after having reached the Webmarks tab for the first time, and click on the link we want, which is then opened in a new tab. Perfect.
However, when we come back to the Webmarks tab, search field is not focused anymore, because we previously clicked on one of the links in the page.

Do you think it could be possible to automatically "re-focus" the search field ?

Thank you very much ๐Ÿ‘

Ben

Add general info page to app

It should explain who's developing Webmarks, where to get support, how to install it as PWA, how to tip devs, and so on.

Add Promise polyfill

I deployed Webmarks with rs.js 1.0 to production, but forgot to add a conditional polyfill for Promises. So it will break in browsers without Promises now.

Form validation error style by default in FF

I just upgraded to Ember 2.10.0 and then saw a weird issue during testing (not sure if it was there in master before): when going to /new in Firefox, the required fields are already marked invalid, even before trying to submit the form:

screenshot from 2016-12-19 21-57-17

Exception and infinite loading spinner on empty storage

Update: this only happens in the update_remotestorage branch, with newer deps overall. Fixing it there.

There's currently an exception when loading the app with no boomarks stored (at least after deleting all existing ones):

screenshot from 2017-08-23 10-55-46

Improve rendering performance for large bookmark collections

When one has a ton of bookmarks, due to the fact that they're all rendered at once on the index, the rendering can take quite some time, which is delaying switching to the page.

My current idea for solving it is to limit the number of items rendered. But that means there needs to be some kind of button for loading more when scrolling to the end, or an infinite scrolling implementation.

Index route failing when no tags present

Error while processing route: bookmarks.index reduce of empty array with no initial value e.default<.createTagListCache@https://webmarks.5apps.com/assets/webmarks-b99e47dd79560d62057a48fe6d2c8c02.js:1:16909

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.