Minimalist knowledge base focused on digital preservation and building your second brain.
Project description
Archivy
Archivy is a self-hosted knowledge repository that allows you to safely preserve useful content that contributes to your knowledge bank.
Features:
- If you add bookmarks, their webpages contents' will be saved to ensure that you will always have access to it, following the idea of digital preservation.
- Backend API for flexibility and user enhancements
- Everything is a file! For ease of access and editing, all the content is stored in markdown files with yaml front matter.
- Extensible search with Elasticsearch and its Query DSL
- Allows you to sync up with Pocket to gather bookmarks from there too.
Upcoming:
- Integrations with HN, Reddit, and many more.
- Login module
- Add submodules for digital identity so archivy syncs to your hn upvoted posts, reddit saved, etc...
- Option to compile data to a static site that can be deployed.
- Dark theme
- UI for grouping by tag and use NLP to automatically generate connections between posts
Setup
Local Setup
- Make sure your system has Python and pip installed.
- Install the python package with
pip install archivy - There you go! You should be able to start the app by running
archivyin your terminal.
Configuration
Archivy uses environment variables for its configuration:
| Variable | Default | Description |
|---|---|---|
ARCHIVY_DATA_DIR |
System-dependant, see below | Directory in which data will be saved |
ARCHIVY_PORT |
5000 | Port on which archivy will run |
ELASTICSEARCH_ENABLED |
0 | Enable Elasticsearch integration |
ELASTICSEARCH_URL |
http://localhost:9200 | Url to the elasticsearch server |
ARCHIVY_DATA_DIR by default will be set by the
appdirs python library:
On Linux systems, it follows the XDG
specification:
~/.local/share/archivy
With Docker
See the docker branch for details on setting things up with docker.
Setting up Search
Archivy uses ElasticSearch to provide efficient full-text search.
Instructions to install and run the service are provided here.
Append these two lines to your elasticsearch.yml config file:
http.cors.enabled: true
http.cors.allow-origin: "http://localhost:5000"
Run archivy like this:
ELASTICSEARCH_ENABLED=1 archivy
Usage
The first time you run archivy, an admin user will automatically be created with a random password. These credentials will be printed to the log when you launch like this:
[2020-10-10 10:48:27,764] INFO in __init__: Archivy has created an admin user as it did not exist.
Username: 'admin', password: '5a512991c605ea51038ce2a0'
Login with these credentials and then you can change your password/username by clicking the profile button on the top left.
You can then use archivy to create notes, organize it and store information.
Community and Development
If you're interested in developing and improving Archivy, please join our community discord server.
Feel free to open issues if you encounter bugs, have any ideas / feature requests and use the discord server for more casual discussion.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file archivy-0.6.2.tar.gz.
File metadata
- Download URL: archivy-0.6.2.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef441c55054893367164bcc660fe60a8db3bc71af3d36197e2fa2b499bcf4603
|
|
| MD5 |
8c5ba8fcd74bd9a0c8b5a8889fa6ee50
|
|
| BLAKE2b-256 |
2cf53539f3759a69d85d9934e9eeb03761bcb2a2e05644cd12e6cbaf99b63a1d
|
File details
Details for the file archivy-0.6.2-py3-none-any.whl.
File metadata
- Download URL: archivy-0.6.2-py3-none-any.whl
- Upload date:
- Size: 27.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0221964274452f1dc3a2660a3d0e2c5b094bddffcf11c4e0691568535678e80b
|
|
| MD5 |
460ebeff434087fb5d1a494260dd685e
|
|
| BLAKE2b-256 |
a229fd9a0ce73b6d1054284634c63f803e47dc0461018e7a33e57a26144f056c
|